PT-2018-6160 · Npm · Simple-Npm-Registry

Published

2018-06-07

·

Updated

2019-10-09

·

CVE-2017-16132

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: simple-npm-registry versions (affected versions not specified)
Description: The issue allows an attacker to access the filesystem by exploiting a directory traversal vulnerability. This can be achieved by placing "../" in the URL, enabling the attacker to access files outside of the intended directory root, potentially leading to the disclosure of private files on the vulnerable system. For example, a malicious actor can send a request like "GET /../../../../../../../../../../etc/passwd HTTP/1.1" to access sensitive files.
Recommendations: At the moment, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround, consider restricting access to the simple-npm-registry package, and only use it for local development. If the functionality is needed for production, it is recommended to use a different package instead.

Exploit

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2017-16132
GHSA-HQW4-8893-J4H7

Affected Products

Simple-Npm-Registry