thethreatdeskFiled from the front lines of cybersecurity
BreachesCritical

Optimizely hack served card skimmers and crypto stealers on CNN, BBC and Zoom sites

Attackers abused a flaw in Optimizely's signup flow to inject malicious code into 178 organizations' experiment scripts for most of a day on Nov 16.

For most of Nov 16, visitors to some of the world's biggest websites were served malicious JavaScript through Optimizely, a popular website testing and experimentation service.

What happened

Optimizely says an unauthorized party exploited a vulnerability in its Experimentation account signup flow. The attacker used it to add code to customers' project scripts, which were then delivered from Optimizely's own CDN with a valid certificate, so browsers trusted them.

Researcher Scott Helme and Report URI analyzed 1,611 Optimizely scripts and found 188 infected files belonging to 178 organizations. Sites that loaded the code included CNN, BBC, Zoom, GitLab, Salesforce, Fox News, KLM, Air France, Smartsheet and UNICEF USA. On the BBC, the first injected script appeared around 4:21 a.m. UTC. All infected files were clean by about 11 p.m. UTC.

What the code did

No device compromise has been confirmed. Wallets linked to the attack received about $7,000. Optimizely has not said how many visitors were exposed.

Response

Optimizely closed the flaw, removed the code, revoked tokens and sessions, and notified affected customers. Salesforce disabled Optimizely scripts on its sites while it investigates. Report URI found that most affected sites had no Content Security Policy that would have stopped the script.

Who's affected

People who visited affected sites on Nov 16, and companies that load Optimizely Web Experimentation scripts.

What to do

Visitors: update iOS, check crypto transfers and card statements from Nov 16. Site owners: review Optimizely project code, keep third-party scripts off payment and login pages, and use a strict Content Security Policy.