Optimizely Exploited to A/B Test Malware on 178 Major Websites
A vulnerability in Optimizely, a platform used for website optimization and testing, allowed attackers to inject malicious JavaScript into 178 major websites for approximately 24 hours. The compromised sites included BBC, CNN, Equifax, Ledger, and Zoom. The injected code could steal payment card data, cookies, and screenshots while also swapping cryptocurrency addresses to route payments to attackers. The malware payload was rebuilt 26 times throughout the attack window, and some payloads included zero-click exploits designed to compromise outdated iPhones and iPads, chaining multiple vulnerabilities to gain complete device control.
The incident illustrates a critical vulnerability in modern web architecture: third-party code dependencies can become attack vectors even when a website’s own systems remain untouched. Optimizely’s JavaScript executes automatically on page load without requiring user consent or action, making it an effective distribution channel once compromised. Most websites lack Content Security Policies that would restrict where JavaScript can be loaded from, leaving them defenseless once a trusted vendor is breached. Of the 178 affected sites, only 24 had CSPs strong enough to block the malicious payload, while 68 had no CSP at all. CSP adoption across the broader web remains under 10 percent.
Researchers emphasize that such supply chain attacks have become inevitable without proper controls. While the attackers netted only about $7,500 in cryptocurrency, they also harvested an unknown quantity of payment card records. The incident underscores the need for websites to implement effective CSPs to compartmentalize third-party code and for end users to rely on ad blockers and script blockers as a crucial defensive layer. The combination of AI-powered malware development and the proliferation of unvetted JavaScript snippets creates an environment where vendor compromises can rapidly cascade into widespread attacks.
Read the full article
Continue reading at Krebs on Security →This is an AI-generated summary. Read the original for the full story.