Description
Directory traversal vulnerability in the _list_file_get function in lib/Majordomo.pm in Majordomo 2 before 20110131 allows remote attackers to read arbitrary files via .. (dot dot) sequences in the help command, as demonstrated using (1) a crafted email and (2) cgi-bin/mj_wwwusr in the web interface.
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.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Majordomo2 - SMTP/HTTP Directory Traversal http/cves/2011/CVE-2011-0049.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- ADV-2011-0288 vdb-entry
- VU#363726 third-party-advisory
- 46127 vdb-entry
- https://sitewat.ch/en/Advisory/View/1
- https://bugzilla.mozilla.org/show_bug.cgi?id=628064
- 43125 third-party-advisory
- majordomo-listfile-directory-traversal(65113) vdb-entry
- 1025024 vdb-entry
- 20110203 Majordomo2 - Directory Traversal (SMTP/HTTP) mailing-list
- 16103 exploit
- 8061 third-party-advisory
- 70762 vdb-entry
- https://bug628064.bugzilla.mozilla.org/attachment.cgi?id=506481