<?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/"><channel><title>Redaxo/Core - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/redaxo/core/</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>Fri, 31 Jul 2026 19:45:35 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/redaxo/core/feed.xml" rel="self" type="application/rss+xml"/><item><title>Redaxo Mediapool File Extension Validation Bypass and RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-redaxo-mediapool-bypass/</link><pubDate>Fri, 31 Jul 2026 19:45:35 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-redaxo-mediapool-bypass/</guid><description>A security regression in Redaxo allows authenticated backend users to achieve RCE by bypassing extension filters using multi-segment filenames on misconfigured Apache web servers.</description><content:encoded><![CDATA[<p>A security regression in the <code>rex_mediapool::isAllowedExtension</code> function, introduced in commit <code>9d008697d</code>, allows authenticated backend users to bypass filename extension filters within the REDAXO CMS (versions 5.18.2 through 5.21.0). The validator previously utilized a robust <code>str_contains</code> check to block forbidden extensions (like .php) anywhere in the filename, but was refactored to use <code>str_ends_with</code> logic. This new implementation only checks the final extension and the immediate preceding segment, failing to account for multi-segment extensions like <code>shell.php.any.jpg</code>.</p>
<p>Authenticated users with media upload privileges can upload polyglot files containing malicious PHP code. If the underlying web server (typically Apache) is configured with non-anchored PHP handlers (using <code>AddHandler</code> or overly broad <code>FilesMatch</code> regex), the server will execute the embedded PHP code when the uploaded file is requested, resulting in arbitrary code execution as the web-server user. This vulnerability is tracked as CVE-2026-53599.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker gains access to a REDAXO backend account with the <code>media[upload]</code> permission.</li>
<li>Attacker crafts a polyglot file (e.g., <code>shell.php.any.jpg</code>) that contains a valid JPEG header followed by arbitrary PHP code.</li>
<li>Attacker navigates to the Media Pool upload interface and uploads the crafted <code>shell.php.any.jpg</code>.</li>
<li>The <code>isAllowedExtension</code> validator processes the filename, evaluates the final <code>.jpg</code> extension, and fails to identify the nested <code>.php</code> segment, allowing the upload.</li>
<li>The file is saved to the public <code>media/</code> directory.</li>
<li>Attacker sends an HTTP GET request to <code>https://&lt;victim&gt;/media/shell.php.any.jpg</code>.</li>
<li>The Apache web server, due to loose handler configuration, interprets the <code>.php</code> segment as a valid PHP execution directive.</li>
<li>The PHP engine executes the embedded payload, granting the attacker RCE.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an authenticated backend user to gain arbitrary PHP code execution on the target server. This enables full compromise of the web application, potential lateral movement within the hosting environment, and unauthorized access to data stored in the database and file system. The scope includes any deployment running vulnerable REDAXO versions configured with loose Apache PHP handler mappings.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritized actions for detection and remediation:</p>
<ul>
<li>Update REDAXO to version 5.21.1 or later to apply the security patch for CVE-2026-53599.</li>
<li>Audit Apache configuration files for <code>AddHandler</code> directives or <code>FilesMatch</code> regex patterns that lack an end-of-line anchor (<code>$</code>), which can cause multi-extension files to be incorrectly parsed as PHP.</li>
<li>Use the provided Sigma rule to detect attempts to upload files with suspicious double or multi-extension naming patterns in web server logs or CMS audit logs.</li>
<li>Implement strict upload validation on web application firewalls (WAF) to inspect filenames for nested forbidden extensions, specifically targeting the pattern <code>.*\.php\..*</code>.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>