Majordomo
CVE-2026-27174
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted GET request to admin.php
-
DeliveryBypass redirect via missing exit statement
-
ExploitReach unauthenticated ajax handler
-
ExecutionPass PHP code via GET parameter
-
ImpactExecute arbitrary code via eval()
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | MajorDoMo with PHP console feature enabled in admin panel; register_globals PHP setting active or equivalent parameter injection mechanism; no authentication required for /admin.php access; missing exit statement after redirect() in modules/panel.class.php. |
| Impact | CVSS 9.8, EPSS 60.3%, PoC available. This is the second critical RCE in MajorDoMo (alongside CVE-2026-27180). Home automation platforms control physical security devices. The missing exit() after redirect() is a classic PHP security anti-pattern. |
| Exploit ScenarioDerived | An attacker sends a POST request to the panel AJAX endpoint with PHP code. Despite the redirect() call, execution continues and the PHP console evaluates the code. The attacker gains shell access and controls all connected IoT devices including locks, cameras, and alarms. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
MajorDoMo home automation platform allows unauthenticated remote code execution through the admin panel's PHP console. An include order bug in panel.class.php causes execution to continue past a redirect() call that lacks an exit statement, allowing unauthenticated requests to reach the PHP code execution functionality in inc_panel_ajax.php.
Earlier versions of this analysis (1)
Unauthenticated RCE in MajorDoMo via PHP console exposed through missing exit after redirect in admin panel authentication.
RemediationAI
Add exit() after all redirect() calls in panel.class.php. Disable the PHP console in production. Implement proper session-based authentication for all admin endpoints. Restrict network access to the management interface.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The panel.class.php module calls redirect() to deny unauthenticated access but does not call exit() afterward. PHP continues executing the remaining code, which reaches the AJAX handler in inc_panel_ajax.php. This handler provides a PHP console feature that executes arbitrary PHP code via eval(). The authentication bypass combined with the console provides complete unauthenticated RCE.
Know when Majordomo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
MajorDoMo (aka Major Domestic Module) allows unauthenticated remote code execution via the admin panel's PHP console feature. An include order bug in modules/panel.class.php causes execution to continue past a redirect() call that lacks an exit statement, allowing unauthenticated requests to reach the ajax handler in inc_panel_ajax.php. The console handler within that file passes user-supplied input from GET parameters (via register_globals) directly to eval() without any authentication check. An attacker can execute arbitrary PHP code by sending a crafted GET request to /admin.php with ajax_panel, op, and command parameters.
Articles & Coverage 2
Executive ViewAI
MajorDoMo installations are vulnerable to unauthenticated remote code execution through an exposed PHP console, allowing attackers to gain complete system control without credentials. This critical vulnerability poses an immediate threat to any organization running this software, with active exploits already in circulation.
Implement network segmentation to restrict admin panel access to trusted IPs only; deploy WAF rules to block requests to the PHP console endpoint; disable the PHP console feature entirely if operationally feasible; require VPN access for any administrative functions; implement intrusion detection signatures for exploitation attempts; monitor access logs for suspicious activity; consider immediate decommissioning of the affected systems pending vendor patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
MajorDoMo home automation platform is vulnerable to unauthenticated remote code execution through supply chain compromis
Unauthenticated OS command injection in MajorDoMo via rc/index.php. EPSS 41.7% — the $param variable is passed unsanitiz
MajorDoMo (aka Major Domestic Module) before 0662e5e allows command execution via thumb.php shell metacharacters. Rated
Unauthenticated SQL injection in MajorDoMo's commands module allows remote attackers to extract database contents includ
Unauthenticated module deletion in Majordomo's market module allows remote attackers to completely disable installations
MajorDomo's shoutbox feature is vulnerable to stored XSS due to unsanitized user input in the /objects/?method= endpoint
MajorDoMo's unauthenticated /objects/?op=set endpoint fails to sanitize property values, allowing remote attackers to in
Reflected XSS in MajorDoMo's command.php allows remote attackers to inject arbitrary JavaScript through an unsanitized q
NVD
CVE.org
EPSS
GitHub
Exploit-DB