Vulnerabilities / Threats
4/12/2016
04:00 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Badlock Bug Declared A Bust--But Patch, Anyway

After weeks of speculation and buildup, the big Badlock reveal came today with Microsoft Windows, Samba patches for a flaw that could allow an attacker to hijack sessions and steal files.

The highly anticipated unveiling today of the Badlock bug in Windows and Samba revealed that the vulnerability was no blockbuster after all, but rather a widespread--and not critical-- vulnerability that can be abused in man-in-the-middle attacks in file server environments.

An attacker could intercept a user’s credentials and steal or modify files, or wage a denial-of-service attack, but he or she would have to be on the same network as the victim, security experts say. The privilege-elevation vulnerability was discovered by Stefan Metzmacher, a member of the Samba development team as well as a Samba developer with SerNet, which provides Samba code packages for Linux products, such as Red Hat Enterprise Server and Novell SUSE Linux Enterprise Server.

Microsoft and Samba both released patches today for Badlock, which is a flaw in Microsoft’s authentication protocols Security Account Manager (SAM) and Local Security Authority (LSAD), which are used with SMB, aka Server Message Block. SMB is a protocol used for shared access to files, printers, serial ports, and communications between client and server machines.

SerNet on March 22 branded and provided a sneak-peek of Badlock with a website as well as its own custom graphic, a move that was widely criticized for giving bad guys a heads up with hints before patches were available for the flaw -- as well as for SerNet’s role as a security vendor that stands to profit from the patch mania following the bug’s big reveal today. And after the details of the bug today confirmed that it was not a critical remote code execution bug as many had predicted, security experts expressed their disappointment and frustration in the buildup surrounding Badlock.

Even so, security experts urged organizations to patch for the flaw (CVE-2016-0128). The flaw was rated as "important" by Microsoft, a far cry from the more serious “critical” level ranking. But given that it’s a bug affecting Windows file servers as well as Unix ones, it should be patched, experts say.

“This is not a pants-on-fire, but a normal, Patch Tuesday that also happens to involve Unix people,” says Tod Beardsley, security research manager for Rapid7. “Remote-code execution would have been a straight shot and that would [have been] a giant disaster.”

Johannes Ullrich, head of the SANS Internet Storm Center, says the hype before the patch was unwarranted. “[It’s] a big let-down. This did not deserve all the hype,” Ullrich says. “’Branded vulnerabilities are great to get people’s attention, but they should not be abused like this. This vulnerability is a MiTM and DoS vulnerability, which isn’t a big deal in the case of SMB, which should never be used across untrusted networks.”

Beardsley characterizes it as a “protocol oddity,” which makes it noteworthy, but in and of itself not especially risky. “The adversary has to be in a privileged position to begin with” to exploit the bug, he says. “I would have to be on the same network as you are. I could compromise your ISP, and be on the same switched network in your building, but I can already do better things [instead] than this [Badlock].”

Security expert Dan Kaminsky says it’s a design flaw that could pose some patching challenges. “It’s a class of flaws that’s not particularly new, but what is new is that Samba is significantly changing a whole bunch of defaults” in the patches, he says. “We don’t want admin credentials plucked off the wire to do arbitrary admin things.”

Patching for Badlock is no “click button” process, Kaminsky says. “This patch more than anything needs to be tested. It may not work in the field, and may not be backwards-compatible,” he says. “When you mess with Windows authentication, fixes at this layer have backwards-compatible issues IT admins have to be aware of.”

SANS’ Ullrich says he doubts patching for Badlock will affect either Samba or Windows’ SMB deployments, but others, such as Apple’s OS X implementation, could be tricky. There aren’t enough details as yet on the how the bug was actually fixed, he says, but “if they had to make the SMB protocol more pedantic about checking authentication, then it is possible that buggy implementations will no longer be able to connect,” he says.

Source: Badlock.org
Source: Badlock.org

Microsoft, which calls the flaw the Windows SAM and LDAD Downgrade Vulnerability, issued a patch for all supported versions of Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8.1, Windows Server 2012, Windows Server 2012 R2, Windows RT 8.1, and Windows 10.

Samba issued updatesto Samba versions 3.6.x, 4.0.x, 4.1.x, 4.2.0-4.2.9, 4.3.0-4.3.6, and 4.4.0 for Badlock (CVE-2016-2118).

“Obviously, this is not the class of bug people expected,” Kaminsky says. But “this is not nothing,” either.

Related Content:

Gain insight into the latest threats and emerging best practices for managing them. Attend the Security Track at Interop Las Vegas, May 2-6. Register now!

Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
ronnies337
50%
50%
ronnies337,
User Rank: Apprentice
4/12/2016 | 9:39:42 PM
This is not for stealing files, it is for downloading all passwords for all users
...allow an attacker to hijack sessions and steal files...

 

Almost. This does allow you to hijack sessions, yes.

But the risk is not "someone uses it to steal some files".

 

The risk is "someone uses this to steal all passwords for all users from the domain controller".

That is what you can do if you hijack the session for the domain administrator.

 
1.9 Billion Data Records Exposed in First Half of 2017
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/20/2017
Get Serious about IoT Security
Derek Manky, Global Security Strategist, Fortinet,  9/20/2017
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Security Vulnerabilities: The Next Wave
Just when you thought it was safe, researchers have unveiled a new round of IT security flaws. Is your enterprise ready?
Flash Poll
[Strategic Security Report] How Enterprises Are Attacking the IT Security Problem
[Strategic Security Report] How Enterprises Are Attacking the IT Security Problem
Enterprises are spending more of their IT budgets on cybersecurity technology. How do your organization's security plans and strategies compare to what others are doing? Here's an in-depth look.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2017-0290
Published: 2017-05-09
NScript in mpengine in Microsoft Malware Protection Engine with Engine Version before 1.1.13704.0, as used in Windows Defender and other products, allows remote attackers to execute arbitrary code or cause a denial of service (type confusion and application crash) via crafted JavaScript code within ...

CVE-2016-10369
Published: 2017-05-08
unixsocket.c in lxterminal through 0.3.0 insecurely uses /tmp for a socket file, allowing a local user to cause a denial of service (preventing terminal launch), or possibly have other impact (bypassing terminal access control).

CVE-2016-8202
Published: 2017-05-08
A privilege escalation vulnerability in Brocade Fibre Channel SAN products running Brocade Fabric OS (FOS) releases earlier than v7.4.1d and v8.0.1b could allow an authenticated attacker to elevate the privileges of user accounts accessing the system via command line interface. With affected version...

CVE-2016-8209
Published: 2017-05-08
Improper checks for unusual or exceptional conditions in Brocade NetIron 05.8.00 and later releases up to and including 06.1.00, when the Management Module is continuously scanned on port 22, may allow attackers to cause a denial of service (crash and reload) of the management module.

CVE-2017-0890
Published: 2017-05-08
Nextcloud Server before 11.0.3 is vulnerable to an inadequate escaping leading to a XSS vulnerability in the search module. To be exploitable a user has to write or paste malicious content into the search dialogue.