{"id":"CVE-2026-27175","published":"2026-02-18T21:10:36Z","modified":"2026-11-08T14:01:37Z","title":"MajorDoMo Command Injection in rc/index.php via Race Condition","vendor":"sergejey","product":"MajorDoMo","tier":"core","eol":null,"affectedVersions":[{"vendor":"sergejey","product":"MajorDoMo","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-02-26T16:20:08.943714Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.23663,"percentile":0.97865,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-04-13","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":4,"pulses":[{"name":"Known_Cve | Feb 20, 2026","url":"https://otx.alienvault.com/pulse/6997f5d6935e76690b290c3f","created":"2026-02-20"},{"name":"Known_Cve | Feb 20, 2026","url":"https://otx.alienvault.com/pulse/6997635c5e3d2b97f7335a66","created":"2026-02-19"},{"name":"Known_Cve | Feb 20, 2026","url":"https://otx.alienvault.com/pulse/6997243112d2ca68469b1150","created":"2026-02-19"},{"name":"Known_Cve | Feb 19, 2026","url":"https://otx.alienvault.com/pulse/699705034b08be9c3f029d4e","created":"2026-02-19"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://chocapikk.com/posts/2026/majordomo-revisited/","tags":["third-party-advisory"]},{"url":"https://github.com/sergejey/majordomo/pull/1177","tags":["issue-tracking","patch"]},{"url":"https://www.vulncheck.com/advisories/majordomo-command-injection-in-rcindexphp-via-race-condition","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-7930","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-7930","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"MajorDoMo Remote Command Injection via cycle_execs Race Condition","module":"exploit/multi/http/majordomo_cmd_injection_rce","type":"exploit","disclosureDate":"2026-02-18","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/majordomo_cmd_injection_rce.rb"}],"nuclei":[{"id":"CVE-2026-27175","name":"MajorDoMo - OS Command Injection via Race Condition","severity":"critical","path":"http/cves/2026/CVE-2026-27175.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-27175.yaml"}],"first":{"date":"2026-02-18","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/majordomo_cmd_injection_rce.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-02-18","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-27175","provenance":"source"},{"date":"2026-02-18","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/majordomo_cmd_injection_rce.rb","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":73.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 222 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.57,"detail":"percentile 0.9787"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.59,"detail":"4 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}