Directory traversal vulnerability in the mwGetLocalFileName function in http.c in MiniWeb HTTP Server 0.8.19 allows remote attackers to read arbitrary files and list arbitrary directories via a (1) .%2e (partially encoded dot dot) or (2) %2e%2e (encoded dot dot) in the URI.
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.bugtraq.ir/adv/miniweb_english.pdf | |
https://exchange.xforce.ibmcloud.com/vulnerabilities/39713 | vdb entry |
https://www.exploit-db.com/exploits/4923 | exploit |
http://www.vupen.com/english/advisories/2008/0176 | vdb entry |
http://secunia.com/advisories/28512 | third party advisory vendor advisory |
http://www.securityfocus.com/bid/27319 | vdb entry |