Description
The _list_file_get function in lib/Majordomo.pm in Majordomo 2 20110203 and earlier allows remote attackers to conduct directory traversal attacks and read arbitrary files via a ./.../ sequence in the "extra" parameter to the help command, which causes the regular expression to produce .. (dot dot) sequences. NOTE: this vulnerability is due to an incomplete fix for CVE-2011-0049.
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.
Metasploit 1 module
-
Majordomo2 _list_file_get() Directory Traversal
auxiliary/scanner/http/majordomo2_directory_traversal
Exploit-DB 1
- Majordomo2 - 'SMTP/HTTP' Directory Traversal EDB-16103 · remote · Feb 3, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- majordomo-listfileget-dir-traversal(66011) vdb-entry
- 8133 third-party-advisory
- http://sotiriu.de/adv/NSOADV-2011-003.txt
- 43631 third-party-advisory
- 20110308 NSOADV-2011-003: Majordomo2 'help' Command Directory Traversal (Patch Bypass) mailing-list
- https://bugzilla.mozilla.org/show_bug.cgi?id=631307