171 points · by jpadvo · 15y ago · 29 comments
Because pretty much all the browsers, on a better-than-quarterly basis, fall victim to attacks that allow arbitrary web pages to upload code into their processes and run it.
Just not sure this needed the "attack class" name.
> Just not sure this needed the "attack class" name.
You are being too generous.
By default, all web browsers ALLOW execution of ALL code encountered since all browsers ship with javascript enabled. Similarly, allowing hidden and/or transparent elements ENABLES clickjacking by default.
In other words, the fundamental design is flawed, and it remains flawed because of vested interests. Most argue the risks are worth the rewards, and anyone who disagrees is promptly told that their tin foil hat is on so tight that it's cutting off their circulation.
Seriously, do you really want to be the person who advocates removing all javascript and hidden/transparent elements?
We both know what would happen to said person.
EDIT: Getting down-voted for just stating the underlying problem on HN doesn't bode well for HN as a community.
Woah, woah, woah. There's such a huge difference between "they can run Javascript and maybe consume some CPU time" and "they can run native code and completely own my machine" that I don't even know where to begin. If you could do "eip = shellcode.ptr;" in Javascript, maybe this would be a logical argument, but really there's just a massive, massive difference here.
That's the real point.
Sure, javascript can be useful and even beneficial, but the key is making a decision on whether the risks are worth the rewards. The same is true for ANY code you decide to run.
"This site has been disabled for violations of our Terms of Service. If you feel this disabling was in error, please fill out our appeal form."
Apropos little: UNC path filtering is something the Rails generation of webdevs have a bad habit over overlooking.
If it's a targeted attack I suppose you have a better shot, are most home windows user names set to the user's full name like "John Doe"?
But if you made some sort of Javascript "game" (which used drag and drop) and required the users to register their name first, then you should have a fairly high chance of guessing their username without CIFS.
It's clever! I don't want to take anything away from it, except that I think it's been written up somewhat breathlessly.
Grossman probably has a good point that most applications aren't even superficially protected against clickjacking, and so this isn't going to be a common attack any time soon.
Did he give Microsoft a head's up about these and a chance to respond before going public? Or does he just give a conference talk and post it to his blog, potentially providing the information allowing thousands of browsers to get compromised (assuming they weren't already) before privately letting Microsoft get a chance to patch it?
But I do hope that he told Microsoft before the world.
The state of security is becoming an over-hyped sideshow of late where the most trivial attacks, which would work maybe 1% of the time in the wild, are getting mass exposure.
I have a 0day in RHEL 5, you simply need to log onto the machine as root and run this script...
Because it doesn't. The attack involves using a bug in IE (an iframe will render cookie data from the local computer) with clickjacking to steal cookie information. Sniffing on port 445 is only mentioned in the context of figuring out the username of your target (by causing the target to connect to your SMB server, running on port 445).
I'd suggest you go back and re-read the whole page before making sweeping generalizations.
Hmm, because port 445 is not port 443?