Security News incident-response malware supply-chain
SEC News High

Optimizely flaw exploited to inject malicious scripts into customer sites

An unauthorized party exploited a vulnerability in Optimizely Experimentation to add malicious JavaScript to customer projects, and the company says it fixed the flaw and removed the code.

KT Kusal Tharindu

What happened

Optimizely says an unauthorized party exploited a vulnerability in Experimentation and used it to add malicious JavaScript to some customer projects. According to SecurityWeek, the company confirmed the incident in a status page update posted early on November 17. The company said some Web Experimentation customers were affected and has not said how many customers were impacted.

Report URI, a security firm that investigated the attack, said the malicious code was placed in an optional field meant for a customer’s own JavaScript, which executes on every page. According to the report, the tampered files came from Optimizely’s content delivery network, so websites loading them treated them as trusted.

Why it matters

Report URI examined 1,611 Optimizely scripts and identified 188 infected ones, belonging to 178 organizations, according to SecurityWeek. Names on the list include the BBC, CNN, Zoom, GitLab, Salesforce, Equifax, HSBC and IKEA. The report says the malware could swap cryptocurrency wallet addresses for the attacker’s own and skim payment card details, and could also collect cookies and screenshots of the page.

The first Optimizely injection in Report URI’s timeline is dated November 16, 04:21 UTC. By 21:52 UTC, only one of the infected scripts had yet to be cleaned. iPhone and iPad users were served the Coruna and DarkSword iOS exploit kits, according to Report URI. Hudson Rock said the current evidence does not establish a zero-day, successful device exploitation, or collection of specific device data by unseen downstream stages.

Hudson Rock also warned that blocking the attacker’s domain may not be enough, because some poisoned Optimizely scripts had a full version of the payload embedded. Report URI’s Scott Helme said trusted JavaScript does not always remain trustworthy, and a website can be compromised through a third-party dependency without its own code or infrastructure being breached.

What to do

Optimizely says it has fixed the vulnerability and removed the injected code from affected projects. It also says it took steps to secure affected user accounts and added protections to prevent unauthorized code from being delivered.

Sources

  1. Optimizely Service Status
  2. SecurityWeek: Optimizely Vulnerability Exploited to Serve Malware on Major Websites
3 posts

Discussion

Spotted an error? Send corrections to [email protected] .

Search Oxelan Signal

Type to search the archive.

Search by title, tag, summary or body text.