Optimizely malware hit 178 websites: iPhone checks after Nov 16

Optimizely malware reached websites of 178 organizations on Monday, November 16, after attackers wrote code into customer projects on the web experimentation platform. Security researcher Scott Helme and the Report URI team published the investigation on November 16. The code swapped cryptocurrency addresses, skimmed payment cards and stole cookies on any device. On iPhones and iPads it also tried to load exploit kits. So far no iPhone or iPad has been confirmed as successfully compromised, MacRumors notes.

Optimizely's track.js swapped crypto addresses and skimmed cards

The attacker wrote a small loader into the Project JavaScript field of many unrelated Optimizely customer projects. The rest of each snippet was untouched, so the file still came from cdn.optimizely.com over Optimizely's own certificate. This was not a CDN cache-poisoning attack, Helme says. Optimizely's CDN served exactly what it was given.

The payload, track.js hosted on 1688360.cc, did four things at once. It swapped nine kinds of cryptocurrency wallet addresses in page text and forms for addresses controlled by the attacker. From 13:43 UTC it skimmed card numbers, expiry dates and CVVs entered on the page, though cards typed inside hosted payment iframes such as Stripe were not touched. It also stole cookies without HttpOnly protection and screenshots of the page. The payload was rebuilt 26 times during the day.

Report URI alert graphic on malicious code injection through Optimizely

Coruna and DarkSword exploit kits hit older iOS

On iOS devices the script loaded a hidden iframe with an exploit kit chosen by iOS version. Coruna targeted iOS 13 through 17, DarkSword targeted iOS 18.x, and a third chain for iOS 26 only fingerprinted the device for now, according to Report URI. The Coruna loader is byte-identical to a sample from an October campaign. 9to5Mac quotes Helme on one detail to read carefully: the kit's own comments say iOS 18.7.3 and later, and 26.3 and later, are patched. That is the exploit kit's note as read by researchers, not an Apple security bulletin about this incident.

Helme's team found 188 infected snippets after reviewing 1,611 Optimizely scripts. The first injection appeared at 04:21 UTC. By 21:52 UTC only one snippet still carried the code. Helme counted about $7,040 arrived in attacker wallets by 19:25 UTC that day, and BleepingComputer warns some of those wallets were active before this attack, so the full amount is not all theft from this incident. Card numbers taken cannot be counted from the blockchain.

Optimizely patched a signup-flow flaw and removed the code

Optimizely told BleepingComputer that an unauthorized party exploited a vulnerability in the Experimentation account signup process and added malicious JavaScript to some customer projects. The company says it fixed the flaw, removed the injected code, ended active sessions, revoked tokens and reset access for affected accounts. Updates are posted on status.optimizely.com.

Apple-documented checks for iPhone and iPad visitors

If you used one of the affected sites on November 16, Apple's own documents cover the checks worth running. In Settings > General > Software Update, install the latest iOS or iPadOS your device supports, per Apple's update page. Report URI separately advises visitors to move to iOS 18.7.3 or later where that is what your device runs. If you are worried an account was accessed, change your Apple Account password and remove devices you do not recognize in Settings > [your name], following Apple's compromised-account steps. For any site where you typed a card number that day, watch your statements and contact the issuer about anything wrong. Clearing Safari cookies with Settings > Apps > Safari > Clear History and Website Data, per Apple's page, signs you out of sites but does not reverse a skimmed card. Our earlier DarkSword settings checklist and the guide to which security update your iPhone should be on cover more of the same ground.

Photo: Report URI / 9to5Mac. Source: Report URI (Scott Helme), BleepingComputer, MacRumors, 9to5Mac, Apple Support.

Previous Article Apple close to rare 4-5-year DRAM supply deal with Samsung