An attacker exploited a flaw in Optimizely Web Experimentation and planted malicious JavaScript in some of the scripts that customer websites load from the service, The Hacker News reports. Visitors to sites run by at least 178 organizations, including CNN, the BBC, and Zoom, received the code, according to Report URI, a firm that monitors those scripts. The code was built to swap cryptocurrency wallet addresses and to capture card details. Report URI cannot see how many card numbers were exposed. On iPhones and iPads, the code was also set up to load a second stage identified as an iOS exploit kit, but the firm reports no iPhones actually being taken over.
Optimizely posted an incident notice at 7:02 p.m. Chicago time on Nov. 16. The company said it had fixed the vulnerability, removed the injected code from affected projects, taken steps to secure affected user accounts, and added protections against unauthorized code delivery. The notice does not say how the flaw worked, how many projects were changed, whether the attacker still has any access, or what customers should do next. Report URI also described at least one site that was cleaned and then re-infected with a hidden version of the code, which suggested the attacker still had access at that point. The status page was still in a monitoring state when I wrote this up.
If you use Optimizely Web Experimentation, read the vendor notice, review the custom code in your projects, and treat any payment or wallet flow on an affected site as potentially exposed until you have checked it yourself.
My take
A script every visitor loads is a high-trust path, and this one got abused. I am glad Optimizely says the code is out and the hole is closed. I would be gladder if the official notice told customers, clearly, what to inspect and what to rotate, and if we knew the attacker was actually locked out.
God Bless, and Needs Garlic!