Directory Traversal in tmock
High severity
GitHub Reviewed
Published
Jul 23, 2018
to the GitHub Advisory Database
•
Updated Sep 12, 2023
Description
Published to the GitHub Advisory Database
Jul 23, 2018
Reviewed
Jun 16, 2020
Last updated
Sep 12, 2023
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:
and server Response:
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.
References