Optimizely Supply Chain Attack Infects Major Brands' Sites with Crypto-Stealing and iOS Malware

A suspected supply chain attack on Optimizely has resulted in malicious JavaScript being served to visitors of high-profile websites including Zoom, CNN, Fox News, BBC, Salesforce, and GitLab. Security researcher Scott Helme identified 188 compromised Optimizely JavaScript files across 178 organizations after reviewing 1,611 scripts. Attackers injected code that loads additional payloads from https://1688360.cc/track.js, enabling cryptocurrency address swapping, payment card data theft, and delivery of iOS exploit kits. The malicious track.js script also collects cookies, URLs, and screenshots while attempting to evade detection through Base64 encoding and fallback embedded code. BleepingComputer confirmed the activity on multiple sites and documented nearly $7,000 in cryptocurrency stolen via clipboard hijacking on November 16. Cleanup reduced the number of active infections to one by late that day, though the initial access method remains unknown. Optimizely has not yet responded to requests for comment on the compromise of customer projects.

BleepingComputerTranslated from English

Read at source

A suspected supply chain attack targeting Optimizely has led to malicious JavaScript being loaded on numerous popular websites, including Zoom, CNN, Fox News, BBC, Salesforce, and GitLab, exposing visitors to scripts designed to steal cryptocurrency and payment information and exploit vulnerabilities in iOS devices.

Optimizely is a digital experience and experimentation platform that organizations use to test and personalize their websites, with its JavaScript files loaded into customers' webpages to deliver this functionality. The attack was first uncovered by security researcher Scott Helme, who reported that his team had identified 188 infected Optimizely JavaScript files belonging to 178 organizations after analyzing 1,611 scripts used by the platform.

According to Helme's analysis, attackers inserted malicious code into Optimizely customer projects, causing JavaScript files hosted on the company's content delivery network (CDN) to load malware on websites that used the service. BleepingComputer independently confirmed that the malicious script loaded, or attempted to load, on numerous affected websites using scans recorded by urlscan.io, including Zoom, KLM, GitLab, BBC, Scheels, CNN, American Girl, ManageBuilding, Smartsheet, Stamps.com, and Salesforce.

Other affected websites include Fox News, Mutual of Omaha, American Eagle, Air France, Change.org, Optimizely, HSBC Insurance, Bitly, IG, and UNICEF USA. BleepingComputer analyzed copies of the modified Optimizely JavaScript files and confirmed that attackers had injected code designed to load an additional malicious script from https://1688360[.]cc/track.js.

The injected code used several methods to load the payload, with some files referencing the malicious URL directly, while others used Base64 encoding and JavaScript's atob() function to decode the URL. Helme also identified a variation that could execute an embedded copy of the malicious code if the remote script was blocked.

An analysis of the malicious track.js file revealed several capabilities: cryptocurrency hijacking that monitors webpages for cryptocurrency wallet addresses and replaces them with attacker-controlled addresses; payment card skimming that searches for credit card numbers, expiration dates, and security codes; and iOS exploit delivery that loads additional malicious JavaScript targeting iPhones and iPads using the Coruna and DarkSword exploit kits.

The malicious script also contains functionality to collect browser cookies, webpage URLs, and screenshots. Helme's investigation found that cryptocurrency wallets embedded in the track.js script received approximately $7,000 in transactions on November 16. Below is the full list of cryptocurrency addresses seen:

  • Bitcoin (BTC): 19g9rZcPeiz8rUvyWpTRyXXhPnjsWrc3kW — 0.08298 BTC (~$5,380)
  • Litecoin (LTC): ltc1q3wp7g6ds0ggg6fl6kncpa4sepn0q3qfacgred5 — 17.02 LTC (~$762)
  • TRON (TRX / USDT): THvs6p56XkUiMkJeSc51cAP64u2RsTYqxa — 662.9 USDT + 184 TRX (~$719)
  • Ethereum (ETH): 0xC4026b06D82b0F0B363eda0642D61CfbDc17884e — 0.074 ETH (~$100)
  • BNB Smart Chain (USDT): 0xC4026b06D82b0F0B363eda0642D61CfbDc17884e — 82 USDT (~$82)

Helme reported that cleanup efforts had reduced the number of infected scripts, with only one of the 188 previously compromised files still containing malicious code as of 21:52 UTC on November 16. While his investigation traced the earliest Optimizely script hijacking to early morning on November 16, it remains unclear how the attackers gained access to modify so many different customer projects.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Supply Chain & OSS

StepSecurity Raises $20 Million Series A to Strengthen Software Supply Chain Defenses
Microsoft Agent Framework PyPI Package Compromised with Credential-Stealing Malware
Malicious Microsoft Agent Framework Releases on PyPI Steal Cloud and CI/CD Credentials