Cybersecurity analysts at Sansec have identified an advanced payment skimmer that utilizes WebRTC data channels for both payload delivery and data exfiltration. This approach enables the malware to evade traditional security monitoring mechanisms. In contrast to conventional skimmers that depend on HTTP requests or image beacons to communicate with attacker infrastructure, this variant leverages WebRTC’s peer-to-peer framework, as outlined in a recent report by a European security research firm.
Skimmer Campaign
The campaign has been observed targeting an automotive manufacturer’s e-commerce environment and is attributed to exploitation of a newly disclosed vulnerability known as PolyShell, impacting both Magento Open Source and Adobe Commerce platforms. This weakness allows unauthenticated adversaries to upload arbitrary executable files via the REST API, ultimately leading to remote code execution on the backend server. Since March 19, 2026, PolyShell has been actively exploited at scale, with dozens of IP addresses involved in coordinated scanning efforts. Researchers report that approximately 56.7% of exposed stores have already been compromised.
The skimmer functions as a self-triggering JavaScript payload that establishes a WebRTC peer connection to a hardcoded external IP address over UDP port 3479. Using the browser’s RTCPeerConnection interface, it sets up a communication channel originally intended for legitimate real-time applications. Once established, the attacker delivers a secondary JavaScript payload through the WebRTC data channel, which is dynamically injected into the checkout page DOM. This payload intercepts form submissions and keystrokes, capturing payment card data, billing details, and other sensitive information, and then transmits the harvested data back through the same encrypted channel.
New Skimming Techniques
The use of WebRTC introduces a notable shift in skimming techniques, primarily because it bypasses Content Security Policy (CSP) restrictions that typically block unauthorized outbound HTTP traffic. CSP mechanisms do not regulate WebRTC connections in the same manner, allowing attackers to establish covert exfiltration channels even in tightly secured environments. Furthermore, the traffic is inherently difficult to detect, as WebRTC DataChannels rely on DTLS-encrypted UDP rather than standard HTTP protocols. As a result, conventional web application firewalls and network monitoring tools—primarily designed for HTTP inspection—fail to capture this activity. DTLS provides encryption and integrity guarantees similar to TLS but is optimized for datagram-based communication, further complicating detection efforts.
Adobe addressed the PolyShell vulnerability in version 2.4.9-beta1, released on March 10, 2026; however, the fix has not yet been rolled out to stable production versions. In the meantime, administrators are advised to enforce strict access controls on the pub/media/custom_options/ directory and conduct thorough audits for web shells, backdoors, and other compromise indicators.
A Closer Look at How PolyShell Works
Additional technical analysis from independent researchers provides deeper insight into the vulnerability. The issue originates in the server-side function ImageProcessor::processImageContent(), which processes image uploads within the product customization workflow. Uploaded files are stored in a directory structure under pub/media/custom_options/quote/<FIRST_CHAR>/<SECOND_CHAR>/<FILE_NAME>, with subdirectories derived from the initial characters of the filename.
The validation routine verifies that the file is non-empty, has a defined size, uses an accepted MIME type, and excludes disallowed characters. However, it fails to confirm that the file extension aligns with the declared MIME type. This oversight enables polyglot file attacks – files that are valid under one format while containing executable code for another. For example, an attacker can craft a file that passes image validation checks while embedding a functional PHP web shell. This payload is delivered through an unauthenticated HTTP POST request to the /rest/default/V1/guest-carts/{cart_id}/items endpoint, allowing attackers to stage the attack without requiring valid credentials.
A key constraint is that successful exploitation depends on server misconfiguration. In properly configured environments—following recommended Nginx or Apache guidelines—access to the pub/media/custom_options/ directory is denied, and direct requests return a 404 response instead of executing the file. Security researchers have emphasized that deviations from these configurations, such as missing .htaccess protections or absent deny rules, are what make real-world exploitation feasible.
In Nginx deployments, the default Magento configuration includes explicit deny rules for sensitive media directories and restrictions on PHP execution outside approved paths. Removing these safeguards exposes the system to cross-site scripting by allowing malicious content to be served directly from the site’s domain. If PHP execution controls are also disabled, the risk escalates to full remote code execution, as the previously uploaded polyglot payload becomes directly executable via a simple HTTP request.
For cybersecurity companies: FileDNA and UnpackDNA add a powerful security layer focused on files. They go beyond traditional antivirus by deeply inspecting, cleaning, and rebuilding files — stripping out hidden malware and malicious payloads before they reach users or critical systems.
Whether files arrive via email, shared drives, or data transfers, the platform analyzes their structure, metadata, and embedded content to catch threats that conventional tools miss. The result is clean, verified files delivered without disrupting existing workflows — turning file hygiene into an active, reliable line of defense.