Description
This module exploits an unauthenticated vulnerability in the WordPress AI Engine plugin (versions <= 3.1.3). The vulnerability allows an attacker to create an administrator account via the MCP (Model Context Protocol) endpoint without authentication. The module supports both `/wp-json/mcp/v1/` and `/?rest_route=/mcp/v1/` endpoints. Once an administrator account is created, the module uploads and executes a malicious plugin to achieve remote code execution (RCE).
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/wp/ai_engine_mcp_rcemsf undefined(ai_engine_mcp_rce) > show actions ...actions...msf undefined(ai_engine_mcp_rce) > set ACTION < action-name >msf undefined(ai_engine_mcp_rce) > show options ...show and set options...msf undefined(ai_engine_mcp_rce) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub