Sansec Reports PolyShell Attacks on 56.7% of Vulnerable Magento Stores

Summary
Sansec reports PolyShell attacks on 56.7% of vulnerable Magento stores. The flaw can enable RCE or stored XSS; a WebRTC-based skimmer was found in some suspected attacks. Adobe's fix is available only in a beta release.
Key points
- Sansec says mass exploitation began March 19 and found attacks on 56.7% of vulnerable stores.
- The flaw involves Magento REST API file uploads in custom cart options; polyglot files can enable RCE or stored XSS if server configuration permits.
- Adobe's fix is in version 2.4.9-beta1, but no stable production release was available at the time of reporting.
- Some suspected PolyShell attacks delivered a JavaScript payment skimmer that uses WebRTC and DTLS-encrypted UDP to exfiltrate card data and evade CSP controls.
- The skimmer uses forged SDP signaling to receive a second-stage payload and can reuse a script nonce or use other execution methods to bypass CSP.
- Sansec published attacker IPs and indicators of compromise; it reported detecting the skimmer on an unnamed car maker's e-commerce site.
Article Details
- Vulnerability Types
- Remote code execution (RCE)
- Stored cross-site scripting (XSS)
- Severity
- Critical
- Affected Versions
- Magento Open Source version 2
- Adobe Commerce version 2
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- partial
MITRE ATT&CK
T1041 · Exfiltration Over C2 ChannelThe skimmer exfiltrates payment card data over an encrypted channel to its hardcoded C2 server.T1056.003 · Web Portal CaptureThe payment skimmer collects card data from an e-commerce website.T1059.007 · JavaScriptThe skimmer executes a second-stage JavaScript payload on the e-commerce site.T1105 · Ingress Tool TransferThe skimmer receives a second-stage payload over its encrypted WebRTC channel.T1190 · Exploit Public-Facing ApplicationAttackers mass-exploit the PolyShell vulnerability in Magento's REST API on vulnerable stores.
Vendors
Products
Adobe CommerceAttackers began mass exploiting the PolyShell vulnerability in Magento Open Source and Adobe Commerce version 2 shortly after public disclosure, with Sansec reporting attacks on 56.7% of vulnerable stores.MagentoAttackers began mass exploiting the PolyShell vulnerability in Magento Open Source and Adobe Commerce version 2 shortly after public disclosure, with Sansec reporting attacks on 56.7% of vulnerable stores.
