Attackers Used Optimizely to A/B Test Malware on Top Websites
Optimizely's vulnerability allowed malware to target users of major websites, highlighting risks in third-party JavaScript dependencies.
A security vulnerability in Optimizely has led to the injection of malware into at least 178 top websites, including BBC, CNN, and Zoom, exposing visitors to data theft and exploitation.
Over the past 24 hours, a security vulnerability in Optimizely has allowed attackers to inject a variety of malware exploits into at least 178 prominent websites. This incident has affected major platforms such as BBC, CNN, Equifax, Ledger, and Zoom, which unwittingly served data-stealing malicious software to their visitors. Experts emphasize that the problem was compounded by the lax enforcement of strict rules regarding third-party content on many popular websites.
The malware included custom exploit code targeting known vulnerabilities in older Apple iPhone and iPad devices. These exploits, referred to as 'DarkSword' and 'Coruna,' are zero-click kits that can exploit multiple security holes to gain complete control over devices and extract sensitive data. The ease with which the malware was injected underscores the risks associated with third-party dependencies in web development.
JavaScript is a powerful scripting language used to create interactive content on websites. It can run on a user's device, allowing it to read and modify the information displayed in the browser. This flexibility makes JavaScript a common choice for developers, but it also poses risks. If a third-party provider's JavaScript is compromised, it can lead to a supply chain attack, where malicious code is delivered to users without their knowledge or consent.
The scale of the incident is significant, as many of the affected websites did not implement effective Content Security Policies (CSPs) to mitigate such risks. Research indicates that 68 of the impacted sites had no CSP at all, while another 50 had CSPs that failed to block the malicious payload. Only 24 sites, or 15 percent, had CSPs that effectively prevented the malware from executing.
Optimizely acknowledged the security incident on November 16, stating that an unauthorized party exploited a vulnerability to add malicious JavaScript to some of its customer projects. The company reported that it acted quickly to contain the incident, blocking access to the vulnerable path, deploying a fix, and removing the injected code. They are also collaborating with third-party experts to conduct a comprehensive investigation.
The overall adoption of CSPs across the web's busiest sites remains low, estimated at around 10 percent. This lack of implementation is concerning, as it allows for potential exploitation through third-party JavaScript. Experts are hopeful that this incident will prompt more organizations to adopt effective CSPs to enhance their security posture.
While the incident has been remediated, it serves as a stark reminder of the vulnerabilities associated with third-party dependencies. The attackers reportedly managed to steal approximately $7,500 worth of virtual currency from affected users, along with an unknown number of payment card records. The long-term implications of such vulnerabilities could lead to more severe consequences if not addressed.
What security teams should do
- Security teams should implement or enhance Content Security Policies across their websites.
- Organizations must audit third-party JavaScript dependencies to identify potential vulnerabilities.
- Review and update security measures for handling third-party content.
What it meansA vulnerability in Optimizely allowed attackers to inject malware into major websites, compromising user data and highlighting weaknesses in third-party content security.
Ask your IT team this weekWhat third-party JavaScript libraries are currently in use on our sites?Do we have effective Content Security Policies in place for all web properties?
DecisionThe IT team will audit all third-party JavaScript dependencies, and security will verify that the audit is completed.