Samba up to 4.4.0 DCE/RPC Badlock 7pk security

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Samba up to 4.4.0. The impacted element is an unknown function of the component DCE/RPC Handler. Executing a manipulation can lead to 7pk security (Badlock). This vulnerability is registered as CVE-2016-2118. It is possible to launch the attack remotely. No exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability has been found in Samba up to 4.4.0 (File Transfer Software) and classified as critical. This vulnerability affects some unknown functionality of the component DCE/RPC Handler. The manipulation with an unknown input leads to a 7pk security vulnerability (Badlock). The CWE definition for the vulnerability is CWE-254. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was published 04/12/2016 by Stefan Metzmacher with SerNet as confirmed advisory (Website). The advisory is available at badlock.org. The public release has been coordinated with the vendor. This vulnerability was named CVE-2016-2118 since 01/29/2016. The attack can only be initiated within the local network. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. The technical details are unknown and an exploit is not available. This vulnerability is assigned to T1211 by the MITRE ATT&CK project. The advisory points out:

There are several MITM attacks that can be performed against a variety of protocols used by Samba. These would permit execution of arbitrary Samba network calls using the context of the intercepted user.
This vulnerability got announced very early but appears to be overhyped.

As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 90495 (RHEL 7 : samba (RHSA-2016:0618) (Badlock)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196447 (Ubuntu Security Notification for Samba Vulnerabilities (USN-2950-1) (BADLOCK)). The advisory illustrates:

To execute a man in the middle attack requires an attacker to manipulate network traffic in the local network segment of the client or server.

Upgrading to version 4.2.10, 4.2.11, 4.3.7, 4.3.8, 4.4.1 or 4.4.2 eliminates this vulnerability. It is possible to mitigate the problem by applying the configuration setting server signing = mandatory; ntlm auth = no. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. The advisory contains the following remark:

Without "server signing = mandatory", man in the Middle attacks are still possible against our file server and classic/NT4-like/Samba3 Domain controller. (It is now enforced on Samba's AD DC.) Note that this has heavy impact on the file server performance, so you need to decide between performance and security. These man in the Middle attacks for smb file servers are well known for decades. Without "ntlm auth = no", there may still be clients not using NTLMv2, and these observed passwords may be brute-forced easily using cloud-computing resources or rainbow tables.
Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 24259.

The vulnerability is also documented in the databases at Tenable (90495), SecurityFocus (BID 86002†) and Vulnerability Center (SBV-58135†). Additional details are provided at isc.sans.edu. Similar entries are available at VDB-82403, VDB-82404, VDB-82405 and VDB-82406. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

Screenshot

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Name: Badlock
Class: 7pk security / Badlock
CWE: CWE-254
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 90495
Nessus Name: RHEL 7 : samba (RHSA-2016:0618) (Badlock)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 802034
OpenVAS Name: Ubuntu Update for samba USN-2950-5
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
Exposure Time: 🔍

Upgrade: Samba 4.2.10/4.2.11/4.3.7/4.3.8/4.4.1/4.4.2
Config: server signing = mandatory; ntlm auth = no
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

01/29/2016 🔍
04/12/2016 +73 days 🔍
04/12/2016 +0 days 🔍
04/12/2016 +0 days 🔍
04/12/2016 +0 days 🔍
04/12/2016 +0 days 🔍
04/12/2016 +0 days 🔍
04/13/2016 +1 days 🔍
04/13/2016 +0 days 🔍
01/27/2025 +3211 days 🔍

Sourcesinfo

Product: samba.org

Advisory: RHSA-2016:0618
Researcher: Stefan Metzmacher
Organization: SerNet
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2016-2118 (🔍)
GCVE (CVE): GCVE-0-2016-2118
GCVE (VulDB): GCVE-100-82210

OVAL: 🔍

CERT: 🔍
SecurityFocus: 86002 - Samba CVE-2016-2118 Man in the Middle Security Bypass Vulnerability
SecurityTracker: 1035533
Vulnerability Center: 58135 - Samba Multiple Versions Remote Man-in-the-Middle Attack due to Mishandle DCERPC Connections, Medium

Misc.: 🔍
See also: 🔍

Entryinfo

Created: 04/12/2016 22:42
Updated: 01/27/2025 06:41
Changes: 04/12/2016 22:42 (89), 02/04/2019 13:31 (12), 07/13/2022 18:22 (5), 07/13/2022 18:30 (1), 07/13/2022 18:37 (1), 01/27/2025 06:41 (15)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!