Add WordPress AI Engine MCP RCE exploit (CVE-2025-11749) #20720
+389
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Metasploit Team,
This module exploits an unauthenticated vulnerability (CVE-2025-11749) in the WordPress AI Engine plugin, which has over 100,000 active installations. The vulnerability allows an attacker to create an administrator account via the MCP (Model Context Protocol) endpoint without authentication, then upload and execute a malicious plugin to achieve remote code execution.
Important Note
This vulnerability is not exploitable by default. The plugin must have the following options enabled:
module_mcpmcp_coremcp_noauth_urlThese options are typically configured by administrators who want to use the MCP feature with AI assistants.
Vulnerability Details
The plugin exposes MCP endpoints at
/wp-json/mcp/v1/{token}/sseand/?rest_route=/mcp/v1/{token}/ssewithout proper authentication checks whenmcp_noauth_urlis enabled. This allows unauthenticated JSON-RPC calls to WordPress core functions likewp_create_user.Module Features
wp-jsonand?rest_route=endpointsTesting
Tested against WordPress 6.3.2 with AI Engine plugin 3.1.3. Both PHP and Linux Meterpreter payloads verified.
Thanks