305 points · by nnx · 10y ago · 179 comments
Compare vulnerabilities
Chrome 6% code execution, 0.4% gain privileges
Firefox 48% code execution, 8.4% gain privileges
Safari 60% code execution, 9.4% gain privileges
IE 79% code execution, 7.2% gain privileges
Edge 55% code execution, 16.4% gain privileges
Before you complain Firefox and IE are older is older we can compare just the last 2 years of vulerabilities
https://docs.google.com/spreadsheets/d/1nqBd7zmg6grVBEws_UPX...
I expect Firefox's newer stats to get better on this front as they move to electrolysis and servo
It's interesting to note that Safari has zero "gain privileges bugs" for the last 2 years even if it has 22x the code execution bugs as Chrome
http://www.cvedetails.com/product/15031/Google-Chrome.html?v... http://www.cvedetails.com/product/3264/Mozilla-Firefox.html?... http://www.cvedetails.com/product/2935/Apple-Safari.html?ven... http://www.cvedetails.com/product/9900/Microsoft-Internet-Ex... http://www.cvedetails.com/product/32367/Microsoft-Edge.html?...
Aren't these the correct numbers according to the spreadsheet?
Browser vulnerabilities 2015/01 - 2016/10
=========================================
Browser Code Execution Gain Privileges
------- -------------- ---------------
Chrome 2.89% 0.58%
Firefox 43.59% 2.88%
Safari 69.11% 0.00%
IE 69.08% 6.07%
Edge 55.22% 2.24%
Source: https://docs.google.com/spreadsheets/d/1nqBd7zmg6grVBEws_UPX...The percentages refer to vulnerabilities discovered between 2015 and 2016 and so may apply to older software.
And it's not Safari but rather WebKit as in there are issues listed for specifically the AppleTV which doesn't even run Safari.
It doesn't support your assertion but it's still interesting 2008-2010 data from an antivirus vendor. It's talking about about how long some vulnerabilities were exploited by malware before getting disclosed, use in targeted attacks, and so on.
It does say "In this paper, we consider only exploits that have been used in real-world attacks before the corresponding vulnerabilities were disclosed" so it's unsurprising that in their dataset this is the case :)
> Chrome's sandbox [...] prevents exploitation of this sandbox escape vulnerability.
It reads to me as though Google disclosed an 0day to promote Google Chrome.
This is fine.
•••
Edit: http://venturebeat.com/2016/10/31/google-discloses-actively-...
> A source close to the company also shared that the exploit Google describes requires the Adobe Flash vulnerability. Since Flash has been patched, the Windows vulnerability is mitigated.
If the immediate risk has been mitigated (barring other unknown attack vectors, this was the immediate one of which Google appears to have been aware), this makes the disclosure seem even more shamelessly promotional. I'd presume the Flash vuln would be to enable drive-by exploitation, so if that risk is mitigated, then they really seriously could've let this one wait.
> This is the first major invocation of the policy in the three years since it was put in place
http://venturebeat.com/2016/10/31/google-discloses-actively-...
> This is not the first time that Google has disclosed Windows vulnerabilities before a patch was ready. In fact, the company did this for Windows 8.1 twice in January 2015. Microsoft understandably wasn’t pleased, but this time around is even more serious. Both of those earlier vulnerabilities weren’t being actively exploited. [emphasis added]
•••
A longstanding policy doesn't make it a good one.
A mental model of Mehta that has served me pretty well: if he says something publicly like this, it's probably because it's important and correct.
The idea that he'd be wasting his time on marketing stunts for the Chrome browser is a bit naive.
If that's the case, though, then he could benefit from reading this HN submission in writing future disclosures.
Benefit how exactly?
By becoming another mindless conformist whitehat who never exercises full disclosure when a vendor isn't taking security seriously (but oh man will they ever pay lip-service to the idea of taking security seriously)?
That's what a lot of the comments in this thread would have him do, anyway.
I think the best benefit he could get from reading the comments here is the realization that so much of the tech industry knee-jerk-defends software vendors without realizing the importance of diverse vulnerability disclosure practices. Then when someone gets particularly nasty with him, he can shrug it off as just a particularly-vocal entitled developer who has probably never found a security vulnerability before, and proceed with following the established P0 policies.
But he probably already knows/realizes this.
But ultimately, I think the comments here would be a waste of time that could better be spent on things that matter far more than the egos of most HN commenters. Myself especially.
This isn't some elaborate scheme to hype up Chrome.
Chrome on Windows 10 is protected. So if anything, it's an ad for Windows 10, not Chrome. Chrome is still vulnerable on Windows 7 and Windows 8/8.1 - which is what, 70-80% of the Windows users? And as others have said, it probably affects all the other browsers, too, so if Google was indeed the "good guy" in this story, it would still do this so the users of other browsers find out about the vulnerability, too.
Speaking grammatically, that's the least important part of the sentence. Quoting my reply to the same point elsewhere,
> Add on top of that the trivialization of "Windows 10" as the noun in a second-order preposition of place as well as the reference to Chrome as the primary subject of the sentence, and even basic analysis of the sentence in question shows a bias.
A proper non-promotional security disclosure would've included multiple mitigating strategies, even if they're user actions such as browsing only trusted sites until a patch is released. Even if that sentence was worded differently ("Browsers which block win32k.sys system calls using the Win32k lockdown mitigation on Windows 10, such as Chrome, prevent exploitation of this sandbox escape vulnerability."), I would've given them a partial pass.
the Windows version is an important part of that statement since it's unclear from this what versions of Windows are affected by the vulnerability.
Firefox/others will still be affected if they don't opt-in.
Just in case anybody wonders, this mitigation is opt-in because what it does is it disables all win32k.sys calls (GDI, ...).
If anything, this just makes it worse, since it tells me Windows 7 users are SOL.
Makes what worse? There's no mention of other browsers (so how could this be an ad for Chrome? Is Edge vulnerable? Is Firefox?) and the plain implication is that Chrome on Windows 7 is indeed SOL.
If IoT security wasn't even worse Android would have been the new botnet platform.
If I were Microsoft I'd tell them to mind their own damn business as well. It's obvious anyway that the only thing Google cares about in this instance is making themselves look good at the expense of Microsoft.
What I mean is, that all major browsers are trying to create their own sandbox environment to be more secure, right? But maybe it is better to do the other way round: give them all permissions, but put them in a controlled and restricted sandbox environment (container). And browser window will be just a small app that talks to that container, sends requests and gets resulting page (rendered) and just shows it? So, it will literally have no access to outside of the container.
As a bonus, it decouples UI from backend.
Asking, because the purpose of containers is to isolate and create sandbox environments, and the purpose of browser is to render and show web pages. So why do browsers care about security, if we already have containers?
Or that makes no sense and gives no advantage/security?
This is partially true: for example there are sandboxes considering the website origin and related restrictions, but on the process level browsers reuse the system mechanism instead of implementing their own. For example on linux, chrome uses seccomp and a number of other ways to separate the ui from the backend. Windows has its own solutions for this.
So I don't think it's right to say they create their own sandboxes. At least not in a NIH meaning.
Containers are just a fancy package for the protections offered directly by namespaces and other existing restrictions. User namespaces are already used in chrome sandboxes for example (https://chromium.googlesource.com/chromium/src/+/master/docs...)
https://blogs.windows.com/msedgedev/2016/09/27/application-g...
https://bugs.chromium.org/p/chromium/issues/detail?id=658606
Link to Xerox issue: http://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_...
The general premise was, if you apply an update and something breaks (note that "changed behaviour" means "broken"), someone's head will roll. If you do nothing and get compromised, it's those damned <country> hackers again.
This. These supposedly risk-averse organisations also have no concept of the risk of stasis, only the risk of change.
Never underestimate the management's ability to fire a Enterprise IT workers for applying an update that the developer's swear changes no behavior in the companies enterprise software, but actually does.
// been on both sides, we suck at testing and risk assessment in this profession
Workstations are often locked down, so employees can't install or upgrade anything.
The second most popular version? IE 6. Not even 8. IE 6.
Who still uses it? Employees of other government departments...
Companies and citizens, live with that.
OK I'll bite. What do you think the motive is?
According to the post's byline, it was written by Neel Mehta and Billy Leonard of the Threat Analysis Group at Google. Are you questioning their professional judgement and claiming they are individually biased?
If not, are you suggesting that there is some management directive to look for Windows exploits and publish them on an aggressive timeline in order to embarrass Microsoft publicly? Do you think professional security researchers would abide by such a directive?
https://security.googleblog.com/2013/05/disclosure-timeline-...
Stop spreading FUD without evidence.
There's no "right" answer because this is a holy war that's been going on for a very, very long time now.
n.b. https://adamcaudill.com/2015/11/19/responsible-disclosure-is...
Source: I've done these things before based off notices like this, and caught malware with it
I'd expect AV vendors to already have signatures for this given that it's being actively exploited, which means there must be malware samples to know this.
When there are known exploits attacks against users, giving a short time to get out quick patches to trusted software vendors makes a lot of sense, but I don't see a good reason for giving more than 24-48 hours before public disclosure.
In this case, the exploit was being actively used in the wild. That means bad actors already had access to this and it was the users who were in the dark. Now it may be added to the "toolkits" of scripters and people who buy exploit frameworks but the people who do real damage were already using it according to Google.
It's not just that people affected by this vulnerability are being protected by its disclosure (though there are reasons why that might be the case) it's that in the future vendors will take deadlines from P0 far more seriously when they realise that their reputation is on the line if they fail to patch in time.
If you let vendors get away with "we know that this is being actively exploited, but we haven't been able to come up with a timely fix, so please don't tell our customers how screwed they are", then that becomes the standard line and you need to keep letting deadlines slip. Or you don't let them slip and you end up with this sort of situation.
It goes both ways. As they said, this is active in the wild and many are being hacked AS WE SPEAK completely unaware of it. Imagine you had some information that is worth millions of dollars on your computer who is vulnerable to this. Now that you know, the first thing you'll do it turn off your computer or find a way to protect yourself. If they hadn't released it, you could've been hit in the coming week or month or however long it takes Microsoft.
As you can see, this isn't a black and white problem.
So if Google doesn't have any way to mitigate the vulnerability, all putting these details out do is allow more actors the chance to use the vulnerability until Microsoft can release a patch, which is exactly the opposite of responsible.
I wonder why they would not do the same for Microsoft?
Why they didn't in this specific instance is probably because it was being actively exploited in the wild, but that's just a guess.
Basically the plugin operates at a higher level than the regular page DOM, so by running angular from a plugin you gain the ability to both execute (arbitrary) javascript from the page but also read/write to the disk. very bad. cannot be fixed. arbitrary code execution by design.
Protect users AND educating script kiddies, this is a hard trade off, and all lazy updating users will be more vulnerable then before.
(more being more script kiddies, not so much more vulnerabilities).
As long as it is done responsible and vendors are given chances to fix this before. Not disclosing is worse i guess in any case.
However, "We encourage users to verify that auto-updaters have already updated Flash"
While adobe recommends to not install it, meh.. :)
Telling the world about vulnerabilities is a knife that cuts on two sides. Inform users about security. Inform wankers how to abuse stuff.
"someone who downloaded a DOS tool for example"
IE, a script kiddie is more likely to use python or php to SQL inject than to execute a timing attack against a crypto library.
https://en.wikipedia.org/wiki/United_States_free_speech_exce...
>Microsoft harshly criticized the disclosure. “Today’s disclosure by Google puts customers at potential risk,” a Microsoft spokesperson said. “We recommend customers use Windows 10 and the Microsoft Edge browser for the best protection.”
Really? Because I thought "your customers" were already at risk for an in the wild zero day exploit that's currently being used to infect Windows computers. How dare Google warn the public to allow them the time to take precautionary steps. I guess they think it's better for their customers to take it up the ass until they figure out how to patch it.
But if it's being actively exploited? Yes, thank you Google for letting us know ASAP. Would indeed be irresponsible not to in this case.
This is not a "wait until the next release cadence" kind of issue, but more like a "scramble all jets and work through the weekend" kind. If I were a Windows user, I don't think there's anything else I'd want MS to work on over fixing an actively exploited remote priv escalation vuln.
Google's security team worked through their Christmas vacations when they had an attack awhile back. To give other companies 7 days to patch their software is really quite generous.