by usr1106 · 1w ago · 0 comments
It would not have helped here. gitlab.com and my bank are on the list. Obviously I could not have blocked them.
Per the linked article, those are not the domains where the malicious JS was served from.
in some cases they were
To be more specific
NoScript would have still caught if such proxy was through
* a separate custom domain that was not previously trusted by the user
* a separate sub-domain of a trusted peer domain (like the opt.scheels.com example) and NoScript user opted for sub-domain level blocking
NoScript would not have caught if the proxy was through the first party primary domain (like the www.vodafone.com.au/js example) - i.e. the domain or sub-domain that the user had already trusted.
So, while it's not a full guarantee, it reduces the exposure risk significantly in most common scenarios.
“A full inline copy of the payload, which runs through eval if 1688360.cc is blocked.”
No, the article doesn't state that the JS served by all listed first party websites was compromised (but see note below). The original maliciously modified content was still (in most cases) served from an optimizely domain like cdn.optimizely.com. The cdn.optimizely.com would not have been blocked by web browsers. The "full inline copy of the payload" refers to content served through that optimizely payload, instead of those additional domains the attacker had set up. About a paragraph or so above your quote:
> The file was still served from cdn.optimizely.com, with Optimizely's certificate, from a host that every affected site already trusted.
That said, while this is a very common scenario, it doesn't cover all of them. There's still a possibility that certain optimizely customers have set up a reverse proxy for the optimizely JS snippet. If this proxy was through a separate sub-domain it's possible NoScript would have caught it (if user opted for sub-domain level blocking). If this proxy was through one of their own primary domain names that user already trusted in Noscript, it would not catch it. So it's not perfect, but covers most common scenarios.
Taking a step back, I'm not sure why there is so much pushback in this thread. Most of it seems to be based on either no or incorrect reading of the information or incorrect understanding. I'm not in any way associated with NoScript or trying to convince folks to use it. Given the incident, I think it's worth stating that this type of attack falls under its main use cases. A reasonably configured NoScript would have protected users in most of these cases. Whether it makes sense for users to use it or not is up to them - it depends on where you see the line between security and convenience tradeoff.
I don't doubt that. But how many users can achieve a reasonably configured NoScript, without breaking things they want to use? I am a developer, so I should be able to do it or I were a bad one. But I am sick of an immoral industry that requires me to do extra work because they are trying to steal something from me in an ever growing multitude of ways every time I click somewhere and even without.
Was a pain though on eCommerce sites as they'd often switch payment processors and then you had to do the whole dance of partially successful payments until you found the right set of allow lists.