Hundreds of websites using the Optimizely website-personalization platform served visitors a multicomponent malware campaign that targeted cryptocurrency wallets, payment-card data, cookies, and screenshots, while also distributing exploit kits aimed at iPhones and iPads, researchers announced Tuesday. Report URI identified 178 affected websites, including CNN, Zoom, the BBC, and Salesforce.
According to Report URI, JavaScript digitally signed by Optimizely and loaded on customer websites had been modified to include malicious code that attempted to install several payloads on visitors’ devices. On successfully infected systems, one component replaced a user’s cryptocurrency wallet address with an address controlled by the attacker. Other components skimmed payment-card information, stole cookies and screenshots, and delivered iOS exploit kits known as Coruna and DarkSword to iPhones and iPads.
Malware delivered through Optimizely infrastructure
Optimizely provides JavaScript “snippets” that combine the company’s code with code supplied by each customer. The JavaScript can be served directly by Optimizely or from a customer-controlled endpoint, and it runs on every page delivered by the customer.
In this case, attackers somehow inserted their own code into portions of multiple customers’ JavaScript and delivered the altered code from cdn.optimizely.com. The JavaScript was signed by a valid certificate for that domain. Optimizely’s own customer JavaScript on www.optimizely.com and login.optimizely.com was also affected.
Report URI researcher Scott Helme said the incident did not appear to be a conventional CDN cache-poisoning attack, in which attackers use HTTP responses to poison a content-delivery network’s cache. Instead, the campaign relied on Optimizely’s legitimate infrastructure, including its domain, to serve the contaminated code.
“We do not know how the attackers gained write access to so many unrelated customer projects, whether by compromising Optimizely systems, compromising credentials through customer-to-customer access, or some other reason,” Helme wrote. “Optimizely will explain that to you.”
Optimizely representatives did not respond to emailed questions.
The malicious script was named track.js and activated all four components at the same time. Devices that received the code responded differently depending on their platform and on what they were doing on the final page that delivered it.
Source: arstechnica.com












