Home Science Poisoned at the Source: Hijacked Optimizely Scripts Hit CNN, BBC and Zoom...

Poisoned at the Source: Hijacked Optimizely Scripts Hit CNN, BBC and Zoom Visitors With a Card Skimmer and iPhone Exploits

0
158
Code that injects a script from 1688360.cc/track.js, the malicious loader found in Optimizely snippets.
The injected loader that pulled in track.js. Image: BleepingComputer

If you opened CNN, the BBC, Zoom or Salesforce on Monday, your browser may have run code that none of those companies wrote. Attackers planted malicious JavaScript inside Optimizely, a popular website-testing service that many big brands load on their pages. For several hours, that code reached visitors of at least 178 organizations. It was designed to swap cryptocurrency wallet addresses, skim payment cards, and push iPhone exploit kits to some Apple devices.

Disclose.tv’s post about the “suspected supply chain attack” was viewed close to a million times overnight. Security researchers and Optimizely itself now confirm the core of it.

A diagram showing how attacker-injected Project JavaScript inside a trusted Optimizely script reached website visitors.
How the attacker-injected code rode inside trusted Optimizely scripts. Image: The Hacker News

How the attack worked

Sites that use Optimizely Web Experimentation load a small “snippet” from the company’s servers so they can test different versions of a page. According to Report URI researcher Scott Helme, the attacker added a loader to the custom “Project JavaScript” inside customer projects and left everything else untouched. The poisoned files were still served from cdn.optimizely.com with Optimizely’s own security certificate, so to browsers they looked trustworthy.

Helme’s team checked 1,611 Optimizely snippets and found malicious code in 188 of them, belonging to 178 organizations. Besides CNN, the BBC and Zoom, The Hacker News lists Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock. BleepingComputer independently confirmed the script on sites including Zoom, KLM, GitLab and Stamps.com. In an incident notice early Tuesday, Optimizely said an attacker had “exploited a vulnerability in Experimentation.” The company said it had fixed the flaw, removed the code and secured affected accounts.

What the code could do

The payload, a file called track.js, replaced valid crypto addresses on a page or in the clipboard with the attacker’s own. A card skimmer added later in the day grabbed card numbers, expiry dates and CVV codes typed into site forms. It could not read cards entered in separate payment frames such as Stripe’s hosted fields. On iPhones and iPads, the code tried to load exploit kits known as Coruna and DarkSword, which target older iOS versions. Researchers say they have no evidence that any real iPhone was actually taken over.

A threat-intel graphic titled OPTIMJACK describing the crypto address swapper and card skimmer loaded through Optimizely scripts.
Researchers dubbed the campaign OPTIMJACK. Image: StepSecurity

Report URI says the attacker’s wallets received about $7,040 within roughly nine hours. StepSecurity puts the figure at about $6,600 and cautions that the blockchain does not show which transfers came from victims. No one yet knows how many card numbers were stolen. The first injection appeared at 04:21 UTC on Monday, and most of the code was cleaned up by about 21:52 UTC.

What you should do

  • Update iPhones and iPads to iOS 18.7.3 or later, or iOS 26.3 or later.
  • If you paid by card on one of the affected sites on Monday, watch your statements and consider asking your bank for a new card.
  • If you sent crypto that day, compare the address you paid with the one you meant to pay.

Optimizely has not said how the flaw worked or how many projects were changed. Cynet’s researchers warn that a site serving the code does not mean that site’s own systems were breached. For the companies involved, the lesson is that a trusted third-party script can become a way into their visitors’ browsers.

Sources

LEAVE A REPLY

Please enter your comment!
Please enter your name here