Sergejey MajorDoMo
MajorDoMo Unauthenticated Remote Code Execution via Admin Console Eval
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.
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 Console Eval Unauthenticated RCE (exploit/multi/http/majordomo_console_eval_rce) (Metasploit, 21 Feb 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| MaxMnMl/majordomo-CVE-2026-27174-poc | 26 Feb 2026 +7.6 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
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 Console Eval Unauthenticated RCE (exploit/multi/http/majordomo_console_eval_rce) | 21 Feb 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: MajorDoMo - Unauthenticated RCE | 20 Apr 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /admin.php
- Query
ajax_panel=1op=consolecommand=echo exec(id)command=echo system(id)- Ports
- 8080
- Seen in
- 1 repo: MaxMnMl/majordomo-CVE-2026-27174-poc
- Evidence
- MaxMnMl/majordomo-CVE-2026-27174-poc/README.md:106 MaxMnMl/majordomo-CVE-2026-27174-poc/README.md:108
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin\.php\?(?:.*&)?ajax_panel=1.*op=console.*command=echo exec\(id\).*command=echo system\(id\)
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-27174 sergejey MajorDoMo exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin.php"; http.uri; content:"ajax_panel=1"; http.uri; content:"op=console"; http.uri; content:"command=echo exec(id)"; http.uri; content:"command=echo system(id)"; reference:url,poc.griffinguard.io/cve/CVE-2026-27174; classtype:web-application-attack; sid:9839734; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: sergejey MajorDoMo exploit attempt (CVE-2026-27174)
id: gg-pocmon-cve-2026-27174-9839734
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27174. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27174
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/admin.php'
cs-uri-query|contains|all:
- 'ajax_panel=1'
- 'op=console'
- 'command=echo exec(id)'
- 'command=echo system(id)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27174