Attack on hundreds of sites

Attackers injected corrupted JavaScript into tools hosted by Optimizely, a digital platform that large companies use to personalise their online offerings. Reports put the number of affected websites at about 178, while some press coverage described nearly 200. Named sites include the BBC, CNN, Zoom, Salesforce, GitLab, IKEA, the UAE unit of HSBC, Equifax, Air France-KLM, Ledger and Peacock. The campaign aimed to steal credit card numbers and cryptocurrency from visitors and to load malicious code onto Apple devices. Security researcher Scott Helme of ReportURI, who was the first to identify the campaign, published his findings on Monday, 16 November.

How the code was delivered

Helme said the modified scripts were named track.js and were served from cdn.optimizely.com, and a valid certificate for that domain signed them. He said this was not a CDN cache poisoning attack, because the attackers used Optimizely's own legitimate infrastructure and domains. Optimizely's own customer scripts for www.optimizely.com and login.optimizely.com were also affected. Helme could not say how the attacker gained write access to so many unrelated customer projects.

We don't know how the attacker got write access to so many unrelated customer projects: a compromised Optimizely system, a compromised credential with cross-customer access, or something else.

— Scott Helme

Payloads and iPhone exploits

Ars Technica reported that the components swapped users' cryptocurrency wallet addresses for addresses controlled by the attackers once installed. Other components skimmed payment card data, stole cookies and captured screenshots. On iPhones and iPads, the scripts delivered the iOS exploit kits known as Coruna and DarkSword. Helme said the attackers' wallets received about $7,040 within roughly nine hours on 16 November. He added that most of the malicious code had already been removed from the affected sites.

Key dates in the Optimizely script attack
  1. Attacker wallets receive about $7,040 over roughly nine hours
  2. Press reports on the 178-site campaign and Optimizely's statement

Optimizely's response

Optimizely said in a statement that it had identified and contained a security incident affecting some clients of its Optimizely Web Experimentation service. The company said access had been blocked, the injected code removed and affected customers contacted directly, and it repeated that message on X. Optimizely representatives did not respond to emailed questions from Ars Technica about how the access was obtained.

Parallel disruptions

On Tuesday, 17 November, Apple users reported problems with iCloud, Apple Pay and the App Store, according to Deutsche Welle. Apple's support page listed App Store, Apple Music and AppleCare disruptions from 16:45 GMT, but the reports do not link those outages to the Optimizely campaign. Separately, CNN reported that the internal communications network of the US National Security Agency went down on Tuesday. Six sources told CNN they had seen no evidence of a cyberattack on that network so far.