| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://www.samba.org/
CPE 2.3
CPE 2.2
Screenshot

CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: BadlockClass: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
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: 🔍
Timeline
01/29/2016 🔍04/12/2016 🔍
04/12/2016 🔍
04/12/2016 🔍
04/12/2016 🔍
04/12/2016 🔍
04/12/2016 🔍
04/13/2016 🔍
04/13/2016 🔍
01/27/2025 🔍
Sources
Product: samba.orgAdvisory: 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: 🔍
Entry
Created: 04/12/2016 22:42Updated: 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.
No comments yet. Languages: en.
Please log in to comment.