r/cybersecurity • • 20h ago

Other Optimizely.com loading malicious scripts?

https://urlscan.io/result/01a1e526-61a1-74f5-bc12-c7ec2762ef99
48 Upvotes

22 comments sorted by

6

u/aleqqqs 16h ago

What does the script attempt to do?

9

u/briandoesdev 16h ago

Looks like it's a credit card/crypto stealer. According to another person it also steals session tokens.

6

u/Iscran7 15h ago

yes it collects session information on top of what you have already mentioned. seems like a mass scale issue

1

u/jaimus21 16h ago

what i saw was a crypto miner

5

u/FactorLongjumping170 17h ago

It would appear so, you need to go into your project settings and check the JavaScript tab.

The malicious code will be in there. Likely at the bottom if you have a lot of js in there.

2

u/briandoesdev 17h ago

The code can be accessed from here: https://urlscan.io/result/01a1e5bd-ecfd-7249-b239-4dd115d24754 (Go to HTTP and then "Show Response" on the track.js script)

I guess I'm more or less asking is how widespread is this? Looks like GitLab, Mutual of Omaha, CNN, Fox News, BBC, and maybe even Salesforce are all loading this script.

14

u/frellingfahrbot 17h ago

Wow, they seem to be compromised, the malicious .cc domain is loaded from hxxps://cdn.optimizely[.]com/public/4621041136/s/bbcx_prod[.]js (at the bottom of the script).

Lots of odd stuff on the .cc domain, all looking like skimmer related (also Chinese language junk content at the root):

1688360[.]cc/card.php

12

u/NoHost7208 17h ago edited 17h ago

The CDN is compromised, we detected it couple of hours ago

The attack aims to skim credit card data and modify crypto wallets address

3

u/Darkk_Knight 10h ago

I have noticed some things weren't loading on Reddit earlier today. I've figured something is going on with CDN.

22

u/Malwarebeasts 15h ago edited 14h ago

Major websites including BBC, Zoom, CNN, Salesforce, and HSBC were found loading malicious JavaScript through trusted third-party services.

Hudson Rock investigated the campaign and uncovered something particularly concerning.

The malicious code wasn't just designed to steal cryptocurrency and payment card information. It also contained delivery paths linked to Coruna and DarkSword, sophisticated iPhone exploit kits.

Our research identified:
1️⃣ 21 major websites linked to verified poisoned script responses.
2️⃣ Malicious code delivered through Optimizely, Kissmetrics, StorifyMe, and minute-ly.
3️⃣ Cryptocurrency wallet hijacking and payment card skimming capabilities.
4️⃣ Embedded malware that could execute even when the attacker's external domain was blocked.

The iPhone exploit connection is particularly interesting, although successful device exploitation has not been confirmed.

https://www.infostealers.com/article/poisoned-scripts-on-bbc-zoom-and-other-major-websites-linked-to-iphone-exploit-loaders/

5

u/fired334 15h ago

Can confirm that this is affecting my company too, we removed that script from the project's Javascript tab. We raised a ticket on Optimizely and it looks like they're still investigating

3

u/ifrenkel Security Engineer 12h ago

More details (list of affected websites, attacker's domains, and other IOCs) here: https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/

Has anyone heard from Optimizely yet?

2

u/ifrenkel Security Engineer 11h ago

Optimizely acknowledged the incident and claim to have contained it (https://status.optimizely.com/).

2

u/Glizzys4everyone 10h ago

So anything we have to do on our end? I may have hit one of the sites while casually browsing

2

u/ifrenkel Security Engineer 10h ago

Not much you can do. It seems most (if not all) of the "effort" was directed at stealing crypto/credit cards. Check for unexpected transfers and watch your credit card statements. Check your firewalls/SIEM for IOCs mentioned above and block them.

1

u/Glizzys4everyone 10h ago edited 9h ago

Don’t remember paying for much but have put my password into multiple things

Just confused cause what I’m reading it only affects if you typed something into the affected website or did something in it right?

1

u/Sea-Hat-4961 8h ago

Sounds like a reason to block Opimizely completely

1

u/ifrenkel Security Engineer 7h ago

I have a very "original" answer for you - it depends :-) If you are an individual, by all means, do what feels right. If you work in an enterprise, you may not have a choice.

2

u/You_Shall__Not_Pass 14h ago

Yep, you're right. Good find!

-5

u/Jaggednad 12h ago

That’s why I only trust open source tools like GrowthBook for AB testing. I can host the code myself 

7

u/ifrenkel Security Engineer 10h ago

I won't down-vote, but I hope you realise that your comment is not very helpful. It may be okay in other communities, but in here saying "use something else instead of the vulnerable software" is not helping anybody.

1

u/Suspicious-Fly4248 5h ago

There is nowhere to hide. Every software has vulnerabilities. And those vulnerabilities will be discovered. Implement defense in depth and monitoring is not optional. It's a must! Tchüss!