Optimizely confirms signup flaw was exploited to infect websites


Security researcher Scott Helme says infected scripts belonged to 178 organizations. Optimizely says it has fixed the signup flaw and removed the injected code.
Optimizely says attackers exploited a flaw in the signup process for its Experimentation service, inserting malicious JavaScript into customer projects and causing websites to load malware. JavaScript is code that runs in a visitor’s browser; customers use Optimizely’s code to test and personalize their webpages.
Security researcher Scott Helme, who uncovered the attack, said his team found 188 infected files belonging to 178 organizations among 1,611 Optimizely scripts examined. The earliest injection his investigation observed was in the early morning of 16 November. How long the flaw had existed and how many visitors were exposed remain unknown.
Using scans recorded by urlscan.io, BleepingComputer independently confirmed that the malicious script loaded or attempted to load on websites including Zoom, KLM, GitLab, BBC, Scheels, CNN, American Girl, ManageBuilding, Smartsheet, Stamps.com and Salesforce.
BleepingComputer analyzed the code and found that it searched for card numbers, expiration dates and security codes entered on webpages and attempted to send them to attackers. It also replaced cryptocurrency wallet addresses with attacker-controlled addresses and could collect browser cookies, webpage addresses and screenshots.
The script also loaded code targeting iPhones and iPads. Helme identified it as Coruna and DarkSword, exploit kits designed to take advantage of flaws in different iOS versions. One variant could run embedded malicious code if the additional script was blocked.

Cybersecurity firm HudsonRock said it found evidence that affected sites served malicious code to visitors. Whether the code worked in each case and the extent of any resulting compromises remain unclear.
Helme found that wallets embedded in the malware had received approximately $7,000 as of 16 November. Some wallets were active before the attack, so the receipts do not establish how much, if anything, was stolen in this campaign.
Optimizely said it blocked the vulnerable signup path, deployed a fix and removed injected code from affected projects. It also ended active sessions, revoked access tokens, reset access for affected accounts and blocked code delivery in Cloudflare. Helme’s last dated observation found one previously infected script still contained malicious code at 01:52 Yerevan time on 17 November.
Salesforce said it disabled unauthorized Optimizely scripts as a precaution and is investigating the changes. It said it would notify affected customers without undue delay if it identifies unauthorized access to their data.
Visitors to affected sites on 16 November can check the destination addresses of cryptocurrency transfers and monitor card accounts if they entered payment details. BleepingComputer recommends contacting the card issuer about suspicious transactions, installing the latest available iOS or iPadOS updates and watching for suspicious account activity.
Optimizely said it had notified all affected customers and continues to investigate. It plans to publish relevant updates at status.optimizely.com.
Researchers identified malicious code in a shared website-testing service. Optimizely later confirmed that an unauthorized party had exploited a vulnerability in it.
3 min