Cyber Risks · The Hacker News

Magento Poly Shell Flaw Enables Unauthenticated Uploads, RCE and Account Takeover

Summary: Sansec disclosed a critical unrestricted file upload flaw in Magento's REST API, codenamed PolyShell, that lets unauthenticated attackers write base64-encoded files to pub/media/custom_options/quote/ by disguising them as image file options on cart items, affecting all Magento Open Source and Adobe Commerce versions up to 2.4.9-alpha2. Adobe fixed the issue in the 2.4.9 pre-release branch under APSB25-94 but left production versions without an isolated patch, and Sansec reported active exploitation since March 16, 2026, with automated mass scanning from at least 50 IP addresses and payloads including a PHP web shell and a password-protected RCE shell passing commands to system().

Why it matters: Sansec's guidance that blocking access to the upload directory does not block uploads means stores without a specialized WAF can still receive malicious code, and the same window saw Netcraft report defacement files across roughly 15,000 hostnames on 7,500 domains, including Asus, FedEx, Fiat, Lindt, Toyota and Yamaha.

Read the original at The Hacker News ↗

Topics
Zero-Days & Exploits
Related