<?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>DedeCMS (&lt;= 5.8.1-Beta) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/dedecms--5.8.1-beta/</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>Thu, 22 Oct 2026 12:02:02 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/dedecms--5.8.1-beta/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>DedeCMS: PHP code injection in ShowMsg() (CVE-2021-48016)</title><link>https://feed.craftedsignal.io/briefs/2026-10-dedecms-code-injection/</link><pubDate>Thu, 22 Oct 2026 12:02:02 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-dedecms-code-injection/</guid><description>DedeCMS through 5.8.1-beta contains a PHP code injection vulnerability in the ShowMsg() function, allowing unauthenticated attackers to execute arbitrary system commands via a crafted HTTP Referer header.</description><content:encoded><![CDATA[<p>DedeCMS versions through 5.8.1-beta are vulnerable to PHP code injection within the ShowMsg() function. The vulnerability arises because the application improperly handles the HTTP Referer header, writing it directly into a DedeTemplate string before inclusion. An unauthenticated attacker can exploit this by sending a crafted HTTP request to the '/plus/flink.php?dopost=save' endpoint with an empty validate code field. Successful exploitation results in arbitrary PHP and system command execution. This vulnerability has been subject to in-the-wild exploitation since at least October 14, 2023.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a target running DedeCMS 5.8.1-beta or earlier.</li>
<li>Attacker crafts a malicious HTTP request targeting '/plus/flink.php?dopost=save'.</li>
<li>Attacker includes a malicious payload within the 'Referer' header.</li>
<li>Attacker ensures the 'validate' parameter is empty to bypass simple verification.</li>
<li>The server-side ShowMsg() function processes the crafted 'Referer' header.</li>
<li>The application writes the 'Referer' value into a template string and includes it.</li>
<li>Arbitrary PHP code injected in the 'Referer' header is executed by the server.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows unauthenticated remote attackers to execute arbitrary PHP code and system commands on the underlying host, potentially leading to full system compromise.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Inventory all internet-facing instances of DedeCMS.</li>
<li>Patch affected instances immediately; confirm if the vendor has provided a specific update that remediates the ShowMsg() injection vulnerability.</li>
<li>If a patch is unavailable, restrict access to '/plus/flink.php' at the web application firewall or reverse proxy level.</li>
<li>Enable detailed web server logging to capture 'Referer' headers and audit requests to the 'flink.php' endpoint for anomalous payloads containing PHP tags or shell commands.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">threat</category><category>php-injection</category><category>remote-code-execution</category><category>web-application-vulnerability</category></item></channel></rss>