CVE-2026-27175
CRITICAL Exploitation: PoC
9.8
CVSS 3.1
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.
Metadata
Severity & Metrics
9.8
CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| sergejey | MajorDoMo | — | 0 ≤ * |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-78 | cna | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.8 | CRITICAL | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 9.2 | CRITICAL | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
References (3)
- MajorDoMo Revisited: What I Missed in 2023 https://chocapikk.com/posts/2026/majordomo-revisited/
- Fix PR: sergejey/majordomo#1177 https://github.com/sergejey/majordomo/pull/1177
- VulnCheck Advisory: MajorDoMo Command Injection in rc/index.php via Race Condition https://www.vulncheck.com/advisories/majordomo-command-injection-in-rcindexphp-via-race-condition