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

exploitDog

github логотип

GHSA-g8wf-rcg3-qw4q

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

Описание

Directory Traversal in tinyserver2

Affected versions of tinyserver2 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.

Example request:

GET /../../../../../../../../../../etc/passwd HTTP/1.1 host:foo

Recommendation

Update to v0.6.0 or later.

Пакеты

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

tinyserver2

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

<= 0.5.2

0.6.0

EPSS

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

Дефекты

CWE-22

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

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

tinyserver2 is a webserver for static files. tinyserver2 is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the URL.

EPSS

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

Дефекты

CWE-22