Tampered Optimizely code served malware to visitors of hundreds of websites

Attackers altered signed JavaScript to swap crypto wallet addresses, steal payment card data and push iOS exploit kits to iPhones and iPads.

Ars Technica

Hundreds of websites that use the Optimizely web personalization platform delivered multifunctional malware to their visitors, Ars Technica reports. According to researchers at Report URI, the 178 affected sites included CNN, Zoom, BBC and Salesforce.

The attack involved JavaScript code that is digitally signed by Optimizely and loaded onto customer pages. The malicious components replaced users' cryptocurrency wallet addresses with addresses controlled by the attackers and stole payment card details, cookies and screenshots. iPhone and iPad users were served iOS exploit kits named Coruna and DarkSword.

Report URI researcher Scott Helme said the incident was not a CDN cache poisoning attack. The malicious code was distributed as track.js directly from the cdn.optimizely.com domain with a valid certificate, and the company's own www.optimizely.com and login.optimizely.com addresses were also affected. Helme said it remains unclear how the attackers gained write access to so many different customer projects.

Optimizely's JavaScript snippets contain code from both the company and its customers and run on every page of a customer's site, giving any tampered version broad reach. Company representatives did not respond to questions sent by email.

Source: Ars Technica