Optimizely Breach Put Wallet-Swapping Code on 178 Sites, Including Ledger
The injected script swapped crypto addresses on pages from HSBC, Ledger, Zoom and others on Nov. 16. Wallets tied to it took in about $7,040, Report URI said.
An attacker slipped crypto-stealing code into websites run by 178 organizations on Monday, Nov. 16, through a flaw in Optimizely's web-testing service. The affected sites included hardware wallet maker Ledger, HSBC, Zoom, the BBC and CNN, according to security researcher Scott Helme of Report URI, as summarized by StepSecurity and The Hacker News.
Optimizely said an unauthorized party exploited a vulnerability in its Experimentation product and added malicious JavaScript to some customer projects, StepSecurity reported, citing the company's status page. Optimizely said it fixed the flaw, removed the code and secured affected accounts.
How the script stole crypto
Many sites load small scripts from outside vendors to run tests and track visitors. Here, the attacker wrote code into a custom field in each Optimizely project, so it rode along on every page of every affected site without touching the sites' own servers.
The script looked for crypto addresses on eight networks, including Bitcoin, Ethereum, Solana and Tron. When it found one near a word like "wallet," "deposit" or "send," it swapped in the attacker's address, including in text a visitor copied to the clipboard. Because the replacement passed the chain's checksum, a wallet app would accept it. It also tried to skim card numbers typed into checkout forms and loaded exploit kits aimed at iPhones, BleepingComputer and StepSecurity said.
Helme found the code in 188 of the 1,611 Optimizely snippets he checked, and said the real count is likely higher. Six of the organizations are crypto or trading firms and 32 are banks or financial companies.
Wallets hard-coded in the script had received about $7,040 within roughly nine hours, Report URI estimated, per The Hacker News. StepSecurity put the total near $6,600 and noted that two addresses were in use before the attack, so not every transfer can be tied to a victim. It said the attacker emptied the bitcoin, ether and litecoin wallets early Tuesday, UTC.
Ledger and HSBC had not commented in the reports reviewed by Black Mint as of 5:50 a.m. ET.
In our opinion: The dollar figure is small. The reach is not, because one vendor account pushed code to 178 brands at once. Anyone who copied a deposit address from an affected site on Nov. 16 should compare it character by character with the address shown in their own wallet or exchange account before sending again.
Sources: StepSecurity: OPTIMJACK: Optimizely-Hosted Scripts Loaded a Crypto Clipper and C · The Hacker News: Hijacked Optimizely Scripts Served Card Skimmer and iOS Exploit · BleepingComputer: Optimizely supply chain attack infects major brands' sites wit · CoinDesk: Hackers planted crypto-stealing code on 178 organizations' sites
Revisions
First published .
No revisions since publication.
We fix errors and say so. See every correction on the Blackmint corrections page.