34 points · by runesoerensen · 10y ago · 49 comments
I only skimmed the CVEs, and from painful memories of having to implement all that shit for scanner products, that whole bundle of protocols is just "SMB" in my head --- in particular, DCERPC to me is "stuff you do over a named pipe".
Update FAQs
My application or product uses the SMB protocol, does this issue affect me?
- No. Only applications and products that use the SAM or LSAD remote protocols
are affected by this issue. The SMB protocol is not vulnerable.
"An elevation of privilege vulnerability exists in the Security Account Manager (SAM) and Local Security Authority (Domain Policy) (LSAD) remote protocols when they accept authentication levels that do not protect them adequately. The vulnerability is caused by the way the SAM and LSAD remote protocols establish the Remote Procedure Call (RPC) channel. An attacker who successfully exploited this vulnerability could gain access to the SAM database.To exploit the vulnerability, an attacker could launch a man-in-the-middle (MiTM) attack, force a downgrade of the authentication level of the SAM and LSAD channels, and then impersonate an authenticated user. The security update addresses the vulnerability by modifying how the SAM and LSAD remote protocols handle authentication levels."
If so, I'm struggling to not agree that this has been overhyped a lot.
The web site is nothing to do with the Samba Team. Having said that, this is an important enough bug that lots of vendors need to patch immediately, and the website really helped let them know that they needed to address this as soon as possible.
Could it have been handled better ? Maybe, but you get back to me after you've coordinated security disclosure for 15+ major product vendors and give me some tips :-).
Also this web site seems to be overloaded, and there's not even any links to the relevant MS16-0xx patches. Not so impressive :(
Hmm, let's recap:
0. Samba has, for years, been a pure clusterfuck to compile and build yourself, attempts at getting community help from the mailing list are always deflected with "don't do that, use SerNet's binaries". Distribution packages as well are not supported by the Samba community, it's SerNet or GTFO.
1. SerNet stops distributing precompiled Samba binaries for free. Thus, users are forced to either buy absurdly expensive "samba+" licenses (250€/server/year!) or to stick to distribution packages, which are still at 4.1.
2. Samba, led by SerNet, stops supporting 4.1.
3. Samba announces "Badlock" _several weeks_ in advance and helpfully points out that, since 4.1 reached EOL a week earlier, users will have to upgrade to versions that are only available from source or as paid SerNet binaries.
I'm sure there's absolutely no malicious intent behind this whole ridiculous charade.
This is a large coordinated effort. Expect patches from other non-Samba using vendors shortly.
Coincidentally, Samba 4.4.0 was released on the same day: https://lists.samba.org/archive/samba/2016-March/198501.html
There are some additional NTLM m-i-t-m bugs being fixed in Samba at the same time, but the main bug is authentication independent.
Hyper-v guest escape[0]
Local privilege escalations[1][2]
DOS for IIS/http.sys[3]
Also, there is a different MitM that allows dumping the SAM database[4]
[0] - https://technet.microsoft.com/library/security/MS16-045
[1] - https://technet.microsoft.com/library/security/MS16-046
[2] - https://technet.microsoft.com/library/security/MS16-048
[3] - https://technet.microsoft.com/library/security/MS16-049
[4] - https://technet.microsoft.com/library/security/MS16-047
So yeah, it's high impact.
Have we really come to the point where it's now "Having access to the internal network is a 'game over' scenario for 95% of real-world networks" ?
WTF is happening to our security ?
If the attacker has can MITM you and encrypt your traffic then you are probably screwed already.
2) The Heartbleed page explained the bug; the Badlock page doesn’t seem to do so!
The hype comes from people not understanding the impact, pure and simple, and overinflating it as it gets passed around. The name just makes it easier to pass around in the process.
A good solution would attack the understanding of impact part of it--maybe a severity rating system like we have for tornados, earthquakes, or other catastrophic disasters?--not so much the naming. Making it easy to talk about is great, as long as we make it easy to talk about accurately.
I have a vuln I was considering naming, but after BadLock I'm strongly reconsidering it.
Yes they are bad and people should patch, but did it really need such a build up, and how did the build up help?
About 18 months ago, I was asked to look into an issue one of our customers was experiencing (we're primarily an ISP but we also provide some managed services to our customers as well). They had several Windows (2003 and 2008) servers sitting on the public Internet, with public IP addresses, not behind a firewall.
Among several other "WTFs?", their primary domain controller was being used 24/7 in DoS (amplification) attacks by way of the DNS service. Of course, every other port that Windows exposes by default was open and accessible to the world on this machine (and several others).
Don't underestimate the clusterfucks that can happen when so-and-so's nephew who is "good with computers" is allowed to run things.
Having samba accessible from the public internet is a issue in itself, regardless of this exploit. The MITM is dangerous I guess, but it's a MITM. It's bad, but not super-hypetrain mega-branding bad. It's not colleagues talking about it at lunch bad. Plus all the shady stuff other people have commented on here.
Edit: having re-read the release ok, yeah, it's pretty bad. I still think you overdid it on the release though.
http://webcache.googleusercontent.com/search?q=cache:ZKTmHGz...
I didn't read closely but it seems to be mostly MITM