Description (CNA)
TinyWeb through 0.0.8 contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files by submitting ../ sequences in the URL path, which are concatenated directly to the configured web root in HttpBuilder::buildResponse() without normalization, dot-segment removal, or boundary checks. Attackers can craft a single request with ../ sequences that pass through the URL parser unchanged and reach the filesystem call via HttpFile::setFile(), exposing sensitive files such as credential stores and private keys when the server process runs as root.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| GeneralSandman / TinyWeb | affected 0b3b5fdb5a058f50248cd8547824936b8dd10351 through a381da252fe8e873c8aff22703040426cc9b2ae0; affected 0.0.8 |
CWE
CWE-22
References
- https://github.com/theopaid/Unauthenticated-Path-Traversal-Allows-Arbitrary-File-Read-TinyWeb-
- https://www.vulncheck.com/advisories/tinyweb-path-traversal-via-url-path-component
ADP enrichment
No English description supplied.
No references supplied.