Sergejey MajorDoMo
MajorDoMo Command Injection in rc/index.php via Race Condition
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= *
Mitigation
The record names no fix. Check the vendor advisory below.
References
Timeline
Days relative to CVE publicationFirst public PoC 2.4 days after publication; not in CISA KEV. First PoC: Metasploit exploit: MajorDoMo Remote Command Injection via cycle_execs Race Condition (exploit/multi/http/majordomo_cmd_injection_rce) (Metasploit, 21 Feb 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: MajorDoMo Remote Command Injection via cycle_execs Race Condition (exploit/multi/http/majordomo_cmd_injection_rce) | 21 Feb 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: MajorDoMo - OS Command Injection via Race Condition | 12 Nov 2026 | 14 Nov 2026 |