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.

 
WebAuthn, FIDO2 Infuse Browsers, Platforms with Strong Authentication
John Fontana, Standards & Identity Analyst, Yubico,  9/19/2018
Turn the NIST Cybersecurity Framework into Reality: 5 Steps
Mukul Kumar & Anupam Sahai, CISO & VP of Cyber Practice and VP Product Management, Cavirin Systems,  9/20/2018
NSS Labs Files Antitrust Suit Against Symantec, CrowdStrike, ESET, AMTSO
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/19/2018
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: White Privelege Day
Current Issue
Flash Poll
The Risk Management Struggle
The Risk Management Struggle
The majority of organizations are struggling to implement a risk-based approach to security even though risk reduction has become the primary metric for measuring the effectiveness of enterprise security strategies. Read the report and get more details today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-17282
PUBLISHED: 2018-09-20
An issue was discovered in Exiv2 v0.26. The function Exiv2::DataValue::copy in value.cpp has a NULL pointer dereference.
CVE-2018-14592
PUBLISHED: 2018-09-20
The CWJoomla CW Article Attachments PRO extension before 2.0.7 and CW Article Attachments FREE extension before 1.0.6 for Joomla! allow SQL Injection within download.php.
CVE-2018-15832
PUBLISHED: 2018-09-20
upc.exe in Ubisoft Uplay Desktop Client versions 63.0.5699.0 allows remote attackers to execute arbitrary code. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of URI ha...
CVE-2018-16282
PUBLISHED: 2018-09-20
A command injection vulnerability in the web server functionality of Moxa EDR-810 V4.2 build 18041013 allows remote attackers to execute arbitrary OS commands with root privilege via the caname parameter to the /xml/net_WebCADELETEGetValue URI.
CVE-2018-16752
PUBLISHED: 2018-09-20
LINK-NET LW-N605R devices with firmware 12.20.2.1486 allow Remote Code Execution via shell metacharacters in the HOST field of the ping feature at adm/systools.asp. Authentication is needed but the default password of admin for the admin account may be used in some cases.