Comment by thought-gap
11 days ago
> 100% serious businesses. On those you often have have to enable JS to make the site usable.
It's not all or nothing. NoScript [0] lets you run JS (and other specific types of content) from domains and/or sub-domains you allow and reject from those you don't. So you'd allow JS from my-serious-business domain and their CDN, and disallow all else, including those mentioned in the linked article.
Sure I know, I tried NoScript in the past.
It would not have helped here. gitlab.com and my bank are on the list. Obviously I could not have blocked them.
> gitlab.com and my bank are on the list.
Per the linked article, those are not the domains where the malicious JS was served from.
> Some customers serve their snippet from their own domain, such as opt.scheels.com/js/<id>.js or www.vodafone.com.au/js/<id>.js. Those were affected too, because the content comes from the same Optimizely project.
in some cases they were
1 reply →
The article states the opposite, which I’m almost certain was due to the attacker realizing that Content-Security-Policy was blocking the payload on many sites:
“A full inline copy of the payload, which runs through eval if 1688360.cc is blocked.”
2 replies →
Even if they weren't (I have not studied the details), when using NoScript and something does not work you need to enable additional domains. It is infeasible to find the minimal necessary set, so you'll end up with a long allow list.
10 replies →