Malware hits scripts on 178 websites, targeting crypto and card data

The campaign exploited an Optimizely account-signup vulnerability to inject code that could swap copied wallet addresses and collect payment details.

Malware hits scripts on 178 websites, targeting crypto and card data cottonbro studio

Malicious code targeting cryptocurrency and credit card data was injected into website scripts used by 178 organizations, including Ledger, the BBC, Salesforce and CNN, security researchers said. The campaign, dubbed “Optimjack” by researcher Amirul Iman, exploited Optimizely, a platform businesses use to add experiments and custom code to websites.

The malware could replace a cryptocurrency wallet address with an attacker-controlled address when a visitor copied it, creating a risk that a user would send funds to the wrong destination. It also watched for card numbers, expiry dates and security codes entered into website forms, according to cybersecurity firm StepSecurity. The incident illustrates how code from a website service can expose visitors to theft even when they are browsing familiar brands.

How the scripts were compromised

Optimizely confirmed that an unauthorized party exploited a vulnerability in its Experimentation account signup flow to add malicious JavaScript to some customer projects. The company said it blocked access to the vulnerable path, deployed a fix, removed injected code from affected projects, ended active sessions, revoked tokens and reset access for affected accounts. It also blocked delivery of the code through Cloudflare and said it had notified affected customers.

Salesforce said it was investigating unauthorized changes to Optimizely scripts used on some of its websites. As a precaution, it disabled those scripts across preview and production instances. Researchers have not established how the attackers gained access to modify the Optimizely projects.

What is known about potential losses

Blockchain estimates suggest that confirmed cryptocurrency losses may be limited, though the total impact remains unclear. Cointelegraph found that addresses linked to the malware received about $7,100 in cryptocurrency on Monday. StepSecurity put funds received or held across the wallets at roughly $6,600, while Galaxy Digital researcher Alex Thorn estimated victims had sent about $2,300. Thorn said most Bitcoin receipts appeared to be the attacker’s own funds routed through an exchange and back to their wallet, rather than victim payments.

Researchers have not determined how many card details or cookies reached the attackers. StepSecurity said the malware could not read payment fields isolated inside cross-origin frames used by third-party payment providers, which may have limited the amount of card data it could capture. The number of affected visitors and any resulting card fraud have not been announced.

This report draws on information from Cointelegraph and cryptonews.net.

Editorial checks passed Facts, figures and quotes checked against 2 sources

Add Cryptos News as a preferred source on Google

Related stories