Description
The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of ".." and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.
Exploits (1)
exploitdb
WORKING POC
VERIFIED
by Pete Foster · textremotelinux
https://www.exploit-db.com/exploits/30711
References (6)
Core 6
Core References
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/482797/100/0/threaded
Patch x_refsource_confirm
http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/37455
Third Party Advisory, VDB Entry vdb-entry
x_refsource_osvdb
http://osvdb.org/43607
Patch x_refsource_misc
http://www.digineo.co.uk/shttp_directory_traversal
Exploit vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/26212
Scores
EPSS
0.0665
EPSS Percentile
91.3%
Details
CWE
CWE-22
Status
published
Products (1)
serverkit/shttp
< 0.0.4
Published
Oct 28, 2007
Tracked Since
Feb 18, 2026