Optimizely breach: wallet-swapping code planted on 178 organizations' sites, including Ledger and the BBC

Decrypt reports an attacker exploited a flaw in Optimizely's website testing service to inject scripts that swap crypto wallet addresses on sites including Ledger and the BBC. Optimizely says it has patched the flaw and removed the code.

News date: About 6 min read

Share on LINE
Contents
  1. 1. What happened?
  2. 2. How does the malicious script affect crypto users?
  3. 3. What other risks are there besides wallet addresses?
  4. 4. How has Optimizely responded, and what remains unknown?

According to Decrypt, an unauthorized party exploited a vulnerability in the Experimentation product of Optimizely, a website experimentation platform, to add malicious JavaScript (code that runs in the web page) to some customer projects. Optimizely says the flaw has been patched and the code removed. The malicious code first appeared early on November 16 (UTC) and was removed from the scripts Report URI could find by late that evening. If you visited an affected site that day, especially if you copied or pasted a wallet address or paid on the site, review that day's crypto transfers and credit card statements, and update your iPhone and iPad.

What happened?

Optimizely is a service many companies use to run experiments on their own websites, such as testing different layouts. Sites load a script from Optimizely to run those experiments. Decrypt says an attacker exploited a flaw in this service to inject malicious code into scripts used by 178 organizations. In a status update on Monday evening, Optimizely confirmed that malicious JavaScript had been added to some customer projects.

Decrypt cites a blog post by Scott Helme, founder of Report URI, a security company that sells tools to detect malicious website scripts. Report URI's researchers examined 1,611 Optimizely scripts and found malicious code in 188 of them. Affected sites listed by Decrypt include Zoom, the BBC, CNN, Salesforce, GitLab, IKEA and HSBC, as well as crypto and trading companies such as Ledger, IG and OANDA. Because the code was served from Optimizely's own trusted servers, the affected sites loaded it even though their own systems had not been compromised.

How does the malicious script affect crypto users?

As relayed by Decrypt from Report URI, the script scans pages for valid wallet addresses (covering Bitcoin, Ethereum, Tron, Solana and TON) and replaces them with addresses controlled by the attacker. It also replaces addresses that users copy to the clipboard (the place where a computer or phone temporarily stores copied content). As a result, someone who copied an address while an affected page was open could paste the attacker's address instead.

Decrypt reports that, in a Tuesday update, Report URI said the attacker's wallets received about $7,150 in crypto assets, mainly Bitcoin, Litecoin and USDT, and that the attacker emptied the wallets early on Tuesday. The firm said one Tron address used to cash out had also been used in earlier operations in March and on November 3, which let it link the attacker to other attacks.

What other risks are there besides wallet addresses?

Decrypt reports that the script also skimmed card details typed into some sites' own payment forms. It did not capture data entered into hosted payment fields such as Stripe's, which are supplied by a third-party payment service rather than the site's own form. On iPhones and iPads, it tried to load the Coruna and DarkSword exploit kits aimed at older iOS versions, meaning tools that use system vulnerabilities to compromise devices. Report URI says it could not see how many card numbers were stolen or how many devices were compromised.

Key points of the incident, compiled from Decrypt's report
ItemWhat Decrypt reports
Affected scripts188 of 1,611 scripts checked contained malicious code
Affected organizations178, including Ledger, Zoom and the BBC
Blockchains involvedBitcoin, Ethereum, Tron, Solana, TON
Amount received by attackerAbout $7,150, mainly Bitcoin, Litecoin and USDT
TimingMalicious code appeared early on November 16 (UTC) and by late that evening had been removed from the scripts Report URI could find
Card theft scopeSome sites' own payment forms; hosted fields such as Stripe's excluded

How has Optimizely responded, and what remains unknown?

Optimizely says it fixed the flaw, removed the injected code, secured affected user accounts, and added protections to stop unauthorized code being delivered. Spokesperson Victoria Johnson told Gizmodo that an unauthorized party had "exploited a vulnerability in the Experimentation account signup flow," and that the company had blocked access to the vulnerable path, deployed a fix and notified all affected customers. Decrypt notes that the company has not said how the attacker gained access to other customers' projects.

Frequently asked questions

Were sites like Ledger or the BBC themselves hacked?

According to Decrypt, no. The malicious code was served from Optimizely's trusted servers, and the affected sites loaded it even though their own systems had not been breached.

Is the malicious code still active?

Optimizely says it has removed the injected code; Report URI says that by late on November 16 it had been removed from all the scripts it could find.

How can I tell whether I was affected?

Helme advises anyone who visited affected sites on November 16 to check that day's crypto transfers, update their iPhone and iPad, and watch their credit card statements. Decrypt lists only some affected sites and does not provide a full list.

How much did the attacker take?

According to Report URI's update, the attacker's wallets received about $7,150 and were emptied early on Tuesday. Report URI says it could not see how many card numbers were stolen.

Browse the latest news in this topic

Found this guide helpful? Share it with someone who needs it

Share on LINE

Sources

Compiled from the references and verification dates listed above; fares, schedules, product features, and terms can change, so please confirm the latest details on the relevant official website before travelling, booking, or purchasing.

Lifestyle