Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Miniweb 0.8.19 - Multiple Vulnerabilities EDB-4923 · remote · Jan 16, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.bugtraq.ir/adv/miniweb_english.pdf
- miniweb-mwgetlocal-directory-traversal(39713) vdb-entry
- 4923 exploit
- ADV-2008-0176 vdb-entry
- 28512 third-party-advisory
- 27319 vdb-entry