US Edition
Your source for latest news
TechnologySupply-chain attack

Hackers Hijacked Optimizely's Ad-Tech Scripts to Plant Card Skimmers on CNN, BBC, Zoom and 175 Other Sites

A breach at the web-experimentation platform Optimizely let attackers slip cryptocurrency-stealing and card-skimming code into scripts loaded by 178 organizations, including CNN, the BBC, Zoom, Salesforce, HSBC and IKEA, researchers said.

PT
By PressTemps Technology DeskPublished Today, 09:20 ET · 7 min read
Hackers Hijacked Optimizely's Ad-Tech Scripts to Plant Card Skimmers on CNN, BBC, Zoom and 175 Other Sites
A generic illustrative photo of JavaScript code on a screen. This is not a photo of the Optimizely incident itself. Photo: Markus Spiske / Unsplash
What to know
A breach at Optimizely's Web Experimentation platform let attackers inject malicious JavaScript into scripts used by at least 178 organizations, including CNN, the BBC, Zoom, Salesforce, HSBC and IKEA.
The malware swapped cryptocurrency addresses, skimmed payment card data entered on affected sites, and attempted to load iOS exploit kits on iPhones and iPads.
Researchers at Report URI found 188 of 1,611 checked Optimizely scripts infected; about $7,150 in cryptocurrency reached attacker wallets before they were emptied Tuesday.
Optimizely says it has fixed the vulnerability and removed the injected code; it has not disclosed how attackers gained the access needed to alter customer projects.

A security breach at the web-testing platform Optimizely allowed attackers to insert malicious JavaScript into scripts used by at least 178 organizations, including CNN, the BBC, Fox News, Zoom, Salesforce, HSBC and IKEA, according to the cybersecurity firm that discovered the intrusion and multiple news organizations that independently verified it.

Optimizely, whose "Web Experimentation" tool lets companies run A/B tests and personalize content on their websites, confirmed in a status update posted early Tuesday that an "unauthorized party exploited a vulnerability in Experimentation" to add malicious code to some customer projects. The company said it has since fixed the flaw, removed the injected code, revoked access for affected accounts and blocked delivery of unauthorized code through its content-delivery network.

The injected code was discovered by Scott Helme of the web-security firm Report URI, who published a detailed technical account of the campaign on Monday. His team checked 1,611 Optimizely scripts in use across the web and found 188 of them, belonging to 178 organizations, had been tampered with. He cautioned the real total is likely higher, since his team could only examine snippets it managed to find before cleanup began.

A trusted script turned hostile

Optimizely's testing snippet is loaded directly into customer web pages from the company's own content-delivery network, a design that made the attack especially effective: because the file came from a domain browsers already trusted, neither visitors nor, in most cases, the websites themselves had reason to suspect it. The attacker planted code inside an optional "Project JavaScript" field that customers can use to run their own scripts on every page of a site — without needing to breach each company individually.

According to Helme's analysis and corroborating reporting from BleepingComputer and SecurityWeek, the payload was a multi-purpose crimeware kit, rewritten by the attacker 26 separate times over the course of the day to evade detection and cleanup. It was designed to:

  • Swap cryptocurrency wallet addresses displayed on a page, typed into forms or copied to the clipboard with addresses controlled by the attacker
  • Capture card numbers, expiration dates and security codes typed directly into a site's own payment forms, and send them to an external server
  • Collect page URLs, non-session cookies and screenshots of the page when wallet- or payment-related content was present
  • On iPhones and iPads, attempt to load exploit kits identified by researchers as "Coruna" and "DarkSword" inside a hidden iframe

The iOS component remains the least settled part of the story. The threat-intelligence firm Hudson Rock, which traced related infrastructure back to a September campaign against Turkish websites, said it could not confirm the exploit kits actually compromised any device, noting that "the current evidence does not establish a zero-day, successful device exploitation," as cited by SecurityWeek. Devices running iOS 18.6 or earlier that loaded the malicious page reportedly reloaded every 60 seconds, a visible symptom researchers used to help identify infections.

Banks, airlines and news organizations among the victims

Report URI's breakdown of the 178 affected organizations found banking and financial firms the largest single category, with 32 organizations, followed by technology and software companies (23), retail and fashion brands (20), and streaming and entertainment services (12). Named organizations confirmed by Helme's team and independently verified through scan data by BleepingComputer include Zoom, GitLab, Salesforce, Smartsheet, Bitly, Equifax, HSBC, Air France-KLM, Ledger, Peacock, IKEA, UNICEF USA and the news outlets CNN, Fox News and the BBC — whose own corporate site, bbc.com, was among the first infected, according to Helme's timeline. Optimizely's own websites were also affected.

"The important lesson here is that trusted JavaScript doesn't always remain trustworthy," Scott Helme of Report URI wrote in his write-up of the campaign.

Salesforce told reporters it was treating the incident as a precaution rather than a confirmed breach of its own systems, saying it was "confirming Optimizely scripts are disabled across preview and production instances" and would notify customers if it found evidence that their data had been accessed. The Help Net Security account of the incident noted that none of the affected companies has so far said how many of its own customers or site visitors were exposed to the malicious script.

Money moved, cleanup underway

By Monday evening, Helme's team had traced roughly $7,150 in cryptocurrency across bitcoin, litecoin, ether and other wallets tied to the campaign's address-swapping scheme — a figure he stressed covers only on-chain crypto theft and says nothing about how many payment cards were skimmed or accounts compromised through stolen cookies. The attacker emptied the wallets early Tuesday, shortly before researchers' findings went public.

Optimizely moved quickly once the intrusion was identified: Report URI's timeline shows the number of still-infected scripts falling from 169 at 8:56 p.m. UTC Monday to a single remaining file — belonging to the British telecoms firm TalkTalk — by 9:52 p.m., with all tracked infections reported clean by 11:11 p.m. Helme said he attempted to reach Optimizely through multiple channels before publishing and received no response until after his findings were already circulating.

Researchers found the attack also exposed a broader gap in how most of the web defends against this kind of supply-chain compromise. Checking the security headers of 256 affected hosts, Report URI found 68 had no Content Security Policy — a browser-enforced rule that restricts which scripts and domains a page can load — at all. Of those with a policy in place, 50 were configured loosely enough to let the malicious script run and exfiltrate data anyway, and only 24 organizations, about 15 percent, had policies strict enough to block the payload outright. Helme noted that even a policy allowing Optimizely's domain offered no protection, since the malicious code was served from that same trusted domain rather than from an attacker-controlled one. Security researchers have increasingly pointed to this blind spot — a trusted third-party script rather than a company's own code — as a fast-growing category of attack, following a string of prior incidents involving compromised analytics, chat-widget and advertising tags quietly embedded on otherwise well-defended sites.

What's next

Optimizely has not disclosed how the attacker initially gained the access needed to modify customer projects across so many unrelated accounts, nor has it said whether the incident is related to a separate breach the company disclosed in February, when it said an employee was tricked by a voice-phishing call into granting access to internal business systems. The company said updates on the current incident would continue to be posted to its public status page.

Hudson Rock has urged caution about declaring the campaign over, noting that some of the compromised Optimizely files embedded a full backup copy of the malicious script that could still execute even if the attacker's external domain were blocked — meaning cleanup of the loader script itself, not just the domain takedown, was essential. Separately, the firm found unrelated scripts from the analytics providers Kissmetrics, StorifyMe and minute.ly serving a smaller loader tied to the same iOS-targeting infrastructure as early as November 13, raising the possibility that Optimizely was not the attacker's only point of entry into the web's advertising and analytics supply chain.

For now, security researchers are advising visitors to the affected sites to review any cryptocurrency transfers made on November 16, check bank and card statements for unauthorized charges, and update iPhones and iPads to the latest iOS and iPadOS security releases as a precaution against the exploit attempts researchers observed.

More on this story

All Technology