Auth bypass in Mjdm Majordomo
CVE-2026-27181
MajorDoMo (aka Major Domestic Module) allows unauthenticated arbitrary module uninstallation through the market module. The market module's admin() method reads gr('mode') from $_REQUEST and assigns it to $this->mode at the start of execution, making all mode-gated code paths reachable without authentication via the /objects/?module=market endpoint. The uninstall mode handler calls uninstallPlugin(), which deletes module records from the database, executes the module's uninstall() method via eval(), recursively deletes the module's directory and template files using removeTree(), and removes associated cycle scripts. An attacker can iterate through module names and wipe the entire MajorDoMo installation with a series of unauthenticated GET requests.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.008, 56.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mjdm Majordomo
- Sergejey Majordomo — versions 0
Weakness classification (CWE)
References
- MajorDoMo Revisited: What I Missed in 2023 (Exploit, Third Party Advisory, third-party-advisory)
- Fix PR: sergejey/majordomo#1177 (issue-tracking, Exploit, patch, Issue Tracking)
- VulnCheck Advisory: MajorDoMo Unauthenticated Module Uninstall via Market Endpoint (Third Party Advisory, third-party-advisory)