Vulnerability Description
MajorDoMo (aka Major Domestic Module) is vulnerable to unauthenticated OS command injection via rc/index.php. The $param variable from user input is interpolated into a command string within double quotes without sanitization via escapeshellarg(). The command is inserted into a database queue by safe_exec(), which performs no sanitization. The cycle_execs.php script, which is web-accessible without authentication, retrieves queued commands and passes them directly to exec(). An attacker can exploit a race condition by first triggering cycle_execs.php (which purges the queue and enters a polling loop), then injecting a malicious command via the rc endpoint while the worker is polling. The injected shell metacharacters expand inside double quotes, achieving remote code execution within one second.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mjdm | Majordomo | - |
Related Weaknesses (CWE)
References
- https://chocapikk.com/posts/2026/majordomo-revisited/Third Party AdvisoryExploit
- https://github.com/sergejey/majordomo/pull/1177Issue TrackingExploit
- https://www.vulncheck.com/advisories/majordomo-command-injection-in-rcindexphp-vThird Party Advisory
FAQ
What is CVE-2026-27175?
CVE-2026-27175 is a vulnerability with a CVSS score of 9.8 (CRITICAL). MajorDoMo (aka Major Domestic Module) is vulnerable to unauthenticated OS command injection via rc/index.php. The $param variable from user input is interpolated into a command string within double qu...
How severe is CVE-2026-27175?
CVE-2026-27175 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-27175?
Check the references section above for vendor advisories and patch information. Affected products include: Mjdm Majordomo.