Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-rp28-29ch-gh92

Опубликовано: 06 авг. 2018
Источник: github
Github: Прошло ревью
CVSS3: 5.3

Описание

Directory Traversal in elding

Affected versions of elding resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.

This vulnerability only affects files that have file extensions - i.e. /etc/passwd will be treated as a directory, and a read attempt on /etc/passwd/index.js will be made and subsequently fail.

Example request:

GET /../../../../../../../../../../some_app_dir/secrets.json HTTP/1.1 host:foo

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.

Пакеты

Наименование

elding

npm
Затронутые версииВерсия исправления

<= 1.0.0

Отсутствует

EPSS

Процентиль: 41%
0.00191
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-22

Связанные уязвимости

CVSS3: 5.3
nvd
больше 7 лет назад

elding is a simple web server. elding is vulnerable to a directory traversal issue, allowing an attacker to access the filesystem by placing "../" in the url. The files accessible, however, are limited to files with a file extension. Sending a GET request to /../../../etc/passwd, for example, will return a 404 on etc/passwd/index.js.

EPSS

Процентиль: 41%
0.00191
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-22