A supply chain attack targeting Optimizely led to malicious JavaScript being loaded onto numerous popular websites, including CNN, Fox News, BBC, Salesforce, and GitLab, exposing visitors to scripts designed to steal cryptocurrency and payment information and exploit vulnerabilities in iOS devices.
Attackers exploited a vulnerability within Optimizely’s Experimentation account signup flow to inject this malicious JavaScript directly into customer projects hosted on the platform. This compromise affected at least 178 organizations, among them Zoom, HSBC, Equifax, IKEA, and GitLab.
The malicious JavaScript was engineered with multiple objectives. It was designed to monitor webpages for cryptocurrency wallet addresses, replacing them with attacker-controlled addresses. Furthermore, it actively searched for credit card numbers, expiration dates, and security codes entered by users, attempting to transmit this captured data to the attackers.
The scope of the threat extended to mobile users, as the malicious code loaded additional JavaScript specifically targeting iPhones and iPads. Security researchers identified secondary payloads associated with this attack as the Coruna and DarkSword exploit kits, which target different versions of iOS devices.
The attack impacted a wide array of major brands, including CNN, BBC, Fox News, Salesforce, and Equifax, demonstrating how a flaw in a single platform could propagate risk across a vast network of client sites.
In response to the security incident, Optimizely took several immediate defensive actions. The company blocked access to the vulnerable path, deployed a fix, and removed the injected code from the affected customer projects. Additionally, Optimizely ended active sessions, revoked tokens, and reset access for compromised user accounts, while also blocking any code delivery through Cloudflare.
This incident highlights the critical security implications inherent in third-party software dependencies. The exploitation of the Experimentation account signup flow allowed the malware to be served from Optimizely’s content delivery network, underscoring the necessity for rigorous security auditing across the entire software supply chain to prevent such widespread exposure.
Sources: