News in perspective

Language

Back to section

Malicious Code in Optimizely Scripts Loaded on Major Companies’ Websites

Follow on Telegram
Optimizely supply chain attack infects major brands' sites with malware
Зображення зі сторінки: bleepingcomputer.com · Image source ↗

A suspected supply-chain attack on the Optimizely platform led to malicious JavaScript being loaded on the websites of major companies and media outlets. According to BleepingComputer, the code may have stolen cryptocurrency transfers and payment data, as well as loaded exploits for Apple devices.

Optimizely is a digital experience and experimentation platform that organizations use to test and personalize websites. Its JavaScript files are loaded on clients’ pages to provide these features. According to security researcher Scott Helm, attackers placed malicious code in these very files.

Reported by bleepingcomputer.com.

Helm said his team found 188 infected files associated with 178 organizations after analyzing 1611 of the platform’s scripts. He concluded that modified files on Optimizely’s content delivery network (CDN) began loading malware on websites that used the service.

BleepingComputer verified using urlscan.io scan data that the malicious script was loaded or attempted to load on a number of websites. The list included Zoom, KLM, GitLab, BBC, CNN, Salesforce, as well as Scheels, American Girl, Smartsheet, and Stamps.com. The publication also named Fox News, Air France, Change.org, Bitly, and UNICEF USA among the affected sites.

An analysis by BleepingComputer of copies of the modified files found code that loaded an additional script from the domain 1688360[.]cc. In some files, the address was written directly; in others, it was concealed using Base64 encoding. Helm also found a variant capable of executing an embedded copy of the malicious code if the remote script was blocked.

According to Helm’s analysis, the malicious script checked pages for cryptocurrency wallet addresses and could replace them with attackers’ addresses to redirect transfers. It also searched for card numbers, expiration dates, and security codes entered by users, and attempted to send the collected data to the attackers’ server.

Another function of the code loaded additional JavaScript for iPhones and iPads. Helm identified Coruna and DarkSword exploits in these scripts, designed for different versions of iOS. The code could also collect browser cookies, web page addresses, and screenshots, and send them to the attackers.

According to Helm’s investigation, wallets whose addresses were included in the track.js file received about 7000 dollars in transactions on November 16. The researcher linked this to the successful operation of the component that replaced cryptocurrency wallet addresses and stole payments.

Helm said cleanup measures reduced the number of infected files: at 21:52 UTC on November 16, malicious code remained in only one of the 188 previously compromised scripts. The investigation traced the first script takeover to the morning of the same day, but the method of access to many client projects remained unclear.

BleepingComputer noted that it had not been established whether the attackers compromised Optimizely’s infrastructure, used stolen credentials, or employed another method. The publication contacted the company for comment and said it would update its report if it received a response.

Follow our Ukrainian Telegram channel