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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://www.securityfocus.com/archive/1/482797/100/0/threaded | mailing list |
http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz | patch |
https://exchange.xforce.ibmcloud.com/vulnerabilities/37455 | vdb entry |
http://osvdb.org/43607 | vdb entry |
http://www.digineo.co.uk/shttp_directory_traversal | patch |
http://www.securityfocus.com/bid/26212 | vdb entry exploit |