preloader

· · security supply-chain web-security devops

Optimizely Supply Chain Attack Loaded Malware on Hundreds of Major Websites

Source: BleepingComputer

Source: BleepingComputer

A supply chain attack against Optimizely, a digital experience and experimentation platform whose JavaScript files are embedded in customer websites, led to malicious scripts being loaded on the pages of major organisations including CNN, Fox News, the BBC, Salesforce, Zoom, GitLab, KLM, Air France, HSBC Insurance, American Eagle and UNICEF USA. Security researcher Scott Helme and his team identified 188 infected Optimizely JavaScript files belonging to 178 organisations after analysing 1,611 scripts used by the platform.

Optimizely confirmed to BleepingComputer that an unauthorised party exploited a vulnerability in the Experimentation account signup flow to add malicious JavaScript to some customer projects. The company says it has blocked the vulnerable path, deployed a fix, removed the injected code, ended active sessions, revoked tokens, reset access for affected accounts and blocked delivery of the code in Cloudflare. It has notified all affected customers and is publishing updates at status.optimizely.com.

What the malware did

The injected code loaded a further script from an external domain, sometimes hidden behind Base64 decoding or embedded as a fallback if the remote file was blocked. Analysis of that payload showed three capabilities: cryptocurrency hijacking, where wallet addresses displayed on pages were replaced with attacker-controlled addresses; payment card skimming, which captured card numbers, expiry dates and security codes and transmitted them to the attackers; and delivery of iOS exploit kits named Coruna and DarkSword, which target vulnerabilities in older iOS and iPadOS versions. The script could also collect browser cookies, page URLs and screenshots.

Helme found that wallets embedded in the malicious script had received roughly 7,000 dollars in transactions as of 16 November, although some wallets were active before the attack, making the campaign’s true proceeds unclear. By late evening on 16 November, Optimizely’s cleanup had reduced the infected files to one of the original 188. The earliest observed script injection dates to the early morning of 16 November, and it is still unclear how long the vulnerability existed or how many visitors were exposed.

Third-party scripts are production code

This incident is a reminder that every third-party script your site loads is part of your attack surface, whether it is an experimentation platform, a chat widget, analytics or a tag manager. None of the affected brands were hacked themselves. Their vendor was, and the malicious code reached their visitors through a trusted integration. European businesses face the same exposure, and the consequences go beyond malware: injected skimming code on checkout or payment pages can drag you into PCI DSS scope and GDPR incident notifications.

Practical defences include a strict content security policy that limits where scripts can load from, subresource integrity for scripts that support it, continuous monitoring of the scripts actually delivered to your pages rather than the ones you approved, and a rehearsed process for cutting a vendor’s script instantly when that vendor is compromised. Visitors who used affected sites on 16 November should check crypto transfers, watch card statements and update iPhones and iPads.

If your website depends on third-party scripts and you want an independent review of that exposure, contact Excello Digital and we will help you map, monitor and lock down your web supply chain.

These news items are automatically aggregated from industry sources and are not individually reviewed. Any inaccuracies are unintentional — let us know and we'll correct or remove it.

We’ll help you resolve your infrastructure challenges

Our team of experts is ready to help you with your infrastructure challenges. We’ll give you honest and personal treatment. Get in touch to learn more.

Get in touch!