{"uuid": "67fc4df5-32d9-4009-bcae-31fc2f01a04b", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2026-27174", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/majordomo_console_eval_rce.rb", "content": "{\"aliases\": [], \"arch\": \"php, cmd\", \"author\": [\"Valentin Lobstein \"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits an unauthenticated remote code execution vulnerability in\\n          MajorDoMo, an open-source home automation platform. The admin panel's PHP console\\n          is accessible without authentication due to a missing exit after redirect in\\n          modules/panel.class.php. The redirect(\\\"/\\\") call intended to block unauthenticated\\n          users lacks an exit statement, so execution continues into the ajax panel handler\\n          which includes inc_panel_ajax.php unconditionally. Inside, the console handler\\n          passes the user-supplied command parameter directly to eval() via the evalConsole()\\n          function. The command, ajax_panel, and op parameters are all controllable via GET\\n          request through MajorDoMo's register_globals-style gr() function.\\n\\n          This results in unauthenticated PHP code evaluation via a single GET request\\n          to /admin.php.\\n\\n          All versions of MajorDoMo up to and including the latest release are affected.\\n          The fix is tracked in PR sergejey/majordomo#1177.\", \"disclosure_date\": \"2026-02-18\", \"fullname\": \"exploit/multi/http/majordomo_console_eval_rce\", \"is_install_path\": true, \"mod_time\": \"2026-02-21 08:34:31 +0000\", \"name\": \"MajorDoMo Console Eval Unauthenticated RCE\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/majordomo_console_eval_rce.rb\", \"platform\": \"Linux,PHP,Unix,Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/http/majordomo_console_eval_rce\", \"references\": [\"CVE-2026-27174\", \"URL-https://chocapikk.com/posts/2026/majordomo-revisited/\", \"URL-https://github.com/sergejey/majordomo/pull/1177\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"PHP In-Memory\", \"Unix/Linux Command Shell\", \"Windows Command Shell\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:01.285307Z"}