<?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>Amasty - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/amasty/</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:19:57 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/amasty/feed.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2026-53787: Unauthenticated Arbitrary File Upload in Amasty Order Attributes for Magento 2</title><link>https://feed.craftedsignal.io/briefs/2026-06-amasty-magento-file-upload/</link><pubDate>Sun, 14 Jun 2026 21:19:57 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-amasty-magento-file-upload/</guid><description>An unauthenticated arbitrary file upload vulnerability in Amasty Order Attributes for Magento 2 (versions before 4.0.0) allows attackers to upload files of any type to the store's media directory, which can lead to remote code execution (RCE) on misconfigured servers by uploading PHP files, enable malware hosting, facilitate stored cross-site scripting (XSS) via HTML/SVG uploads, or achieve path traversal to write files outside the intended directory.</description><content:encoded><![CDATA[<p>A critical unauthenticated arbitrary file upload vulnerability, tracked as CVE-2026-53787, exists in the Amasty Order Attributes extension for Magento 2 in all versions prior to 4.0.0. This flaw permits unauthenticated attackers to write arbitrary files to the store's media directory by submitting files of any type or name to a specific upload endpoint without authentication, session validation, or cart context. This vulnerability poses a significant risk to affected Magento 2 installations, enabling threat actors to achieve remote code execution (RCE) on systems where the media directory is configured to execute PHP files. Beyond RCE, attackers can also leverage this vulnerability for malware hosting, stored cross-site scripting (XSS) through malicious HTML or SVG file uploads, and path traversal to place files in unintended locations. The broad impact and ease of exploitation make this a high-priority threat for organizations utilizing the vulnerable Amasty extension.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access</strong>: An unauthenticated attacker sends a crafted HTTP POST request to the <code>/media/amasty_order_attributes/upload</code> endpoint on a vulnerable Magento 2 instance.</li>
<li><strong>Exploitation (Arbitrary File Upload)</strong>: The attacker includes a malicious file, such as a PHP webshell (e.g., <code>shell.php</code> or <code>image.php.txt</code>), within the POST request. The vulnerable endpoint processes this request without requiring any form of authentication, session validation, or cart context.</li>
<li><strong>Persistence (File Write)</strong>: The Amasty Order Attributes component processes the request and writes the malicious file directly into the store's publicly accessible <code>media</code> directory. Attackers may also attempt path traversal techniques to write files to other arbitrary locations.</li>
<li><strong>Execution (Webshell Access)</strong>: The attacker subsequently sends a direct HTTP GET request to the URL of the uploaded PHP webshell (e.g., <code>https://[magento-site]/media/amasty_order_attributes/shell.php</code>).</li>
<li><strong>Impact (Remote Code Execution)</strong>: If the web server is configured to execute PHP files within the <code>media</code> directory, the malicious webshell is executed, granting the attacker remote code execution capabilities on the underlying server.</li>
<li><strong>Alternative Impacts</strong>: Depending on the uploaded file type, attackers could achieve stored cross-site scripting (XSS) by uploading malicious HTML or SVG files, or host malware for distribution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-53787 can lead to severe consequences for affected Magento 2 stores. The primary impact is remote code execution, allowing attackers full control over the compromised server, potentially leading to data theft, defacement, or further network penetration. The vulnerability also enables malware hosting, serving malicious content directly from the victim's domain, and stored cross-site scripting (XSS) attacks that could compromise customer data or sessions. Given Magento's e-commerce nature, a compromise could expose sensitive customer information, payment card details, and lead to significant financial and reputational damage. The CVSS v3.1 base score of 9.8 reflects the critical nature of this vulnerability.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately patch Amasty Order Attributes for Magento 2 to version 4.0.0 or later to address CVE-2026-53787.</li>
<li>Deploy the <code>Detects CVE-2026-53787 Exploitation - Unauthenticated PHP Upload to Amasty Module</code> Sigma rule to detect attempts to upload malicious files via the vulnerable endpoint.</li>
<li>Deploy the <code>Detects Access to Malicious Files in Amasty Upload Directory</code> Sigma rule to identify post-exploitation attempts to access uploaded webshells or malicious files.</li>
<li>Review web server configurations to ensure that the <code>media</code> directory and other upload directories do not permit the execution of PHP or other server-side scripting languages.</li>
<li>Enable comprehensive webserver access logging and ensure logs are ingested into your SIEM for analysis to support the detection rules above.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>web-vulnerability</category><category>file-upload</category><category>magento</category><category>amasty</category><category>rce</category><category>xss</category></item></channel></rss>