module

WordPress AI Engine Plugin MCP Unauthenticated Admin Creation to RCE

Disclosed
Nov 4, 2025
Created
Dec 4, 2025

Description

This module exploits an unauthenticated vulnerability in the WordPress AI Engine plugin
(versions 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).

Authors

Emiliano Versini
Khaled Alenazi (Nxploited)
Valentin Lobstein [email protected]
dledda-r7

Platform

Linux,PHP,Unix,Windows

Architectures

php, cmd

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_rce
msf exploit(wp_ai_engine_mcp_rce) > show targets
...targets...
msf exploit(wp_ai_engine_mcp_rce) > set TARGET < target-id >
msf exploit(wp_ai_engine_mcp_rce) > show options
...show and set options...
msf exploit(wp_ai_engine_mcp_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.