The Story, Not the Spin
Deniro News

The Story, Not the Spin

Hackers Turned BBC, CNN and Zoom Into Malware Traps Through Optimizely

Malicious code slipped into the A/B testing tool used by 178 organizations, including the BBC, CNN and Zoom. It ran for about 17 hours before it was cleaned up.

BBC Broadcasting House in London
BBC Broadcasting House in London. The BBC’s Optimizely snippet was the first found carrying the injected code. Photo: Paul Gillett, CC BY-SA 2.0, via Wikimedia Commons

Some of the most-visited websites on the internet spent Monday serving malware to their own readers. The code did not come from the sites themselves. It came from Optimizely, the A/B testing tool they all load on every page.

Security researcher Scott Helme of Report URI found the malicious JavaScript in 188 of the 1,611 Optimizely snippets his team checked. The snippets belonged to 178 organizations, including the BBC, CNN, Zoom, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM and the crypto wallet maker Ledger. News sites on the list included Fox News and NPR.

The first injection Helme spotted was in the BBC’s snippet at 04:21 UTC on Monday. A clean copy of the same file had been captured two hours earlier. By 08:28 UTC, the main payload was loading on bbc.com. The BBC’s own servers were not breached. The poisoned file still came from Optimizely’s content delivery network, with Optimizely’s certificate, from a host every affected site already trusted.

What the code did

The injected code did several jobs at once. It swapped cryptocurrency wallet addresses on eight blockchains, so payments meant for one address went to the attackers instead. It skimmed payment card details typed into affected pages. It stole cookies and screenshots. On older iPhones and iPads, it served exploit kits known as Coruna and DarkSword.

Helme traced about $7,040 in cryptocurrency to the attackers’ wallets by Monday evening. About $5,380 of it was Bitcoin. There is no telling how much more the attackers stand to make from stolen card details.

The payload was rebuilt 26 times during the day, changing shape as researchers and defenders caught on. BleepingComputer independently confirmed the script loading on sites including Zoom, KLM, GitLab, the BBC, CNN, Smartsheet and Salesforce.

How it got in

Optimizely lets customers add their own JavaScript to their pages through a field called Project JavaScript. The attackers wrote their code into that field in customer projects and left the rest of each snippet alone. Optimizely said an unauthorized party exploited a vulnerability in the sign-up flow for its Experimentation product. The company said the vulnerable path is now blocked, the injected code was removed and affected customers were contacted directly.

Optimizely posted its first public notice on its status page at 01:02 UTC on Tuesday. Researchers have dubbed the campaign OPTIMJACK. No threat actor has been publicly named.

The same actor is believed to be behind an earlier wave, from November 13 to 16, that ran through three other website-script providers, Kissmetrics, StorifyMe and Minute Media. Website technology tracker BuiltWith reports Optimizely on roughly 190,000 live websites.

Most of it was gone within a day

By 21:52 UTC on Monday, only one of the 188 infected snippets still carried the code, belonging to TalkTalk. By 23:11 UTC, Report URI said all the infected files it was monitoring were clean and had stayed clean.

Anyone who visited an affected site on Monday should check their payments and update their devices, security researchers said. Ledger said the private keys on its hardware wallets remain protected, so the crypto risk sits with anyone who sent funds from an affected page during the window.

Optimizely had a separate incident in February, a voice-phishing attack that exposed business contact information from its internal systems.

More from Deniro News