CVE-2016-2118: Samba - Man-in-the-Middle
- Cve: CVE-2016-2118
- Name: Samba - Man-in-the-Middle
- Description: The MS-SAMR and MS-LSAD protocol implementations in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2 mishandle DCERPC connections, which allows man-in-the-middle attackers to perform protocol-downgrade attacks and impersonate users by modifying the client-server data stream, aka "BADLOCK."
- Impact: Attackers can perform protocol downgrade and impersonate users, leading to potential unauthorized access and security breaches.
- Remediation: Update Samba to version 4.2.11, 4.3.8, or 4.4.2 or later versions.
- Vulnerability impact: man_in_the_middle, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.37181
- Epss percentile: 0.98555
- Assignee: [email protected]
- Published at: 2016-04-12T23:59:37Z
- Age in days: 3878
- Modified at: 2026-06-17T00:43:29Z
- Patch available: yes
- Public exploits total: 1
- References total: 26
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-2118
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-254 | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nickanderson/cfengine-CVE-2016-2118 | poc-in-github | 2016-04-17 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.samba.org/samba/latest_news.html#4.4.2 | Vendor Advisory |
| https://www.samba.org/samba/security/CVE-2016-2118.html | Vendor Advisory |
| http://badlock.org/ | Technical Description, Third Party Advisory |
| http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182185.html | Mailing List, Third Party Advisory |
| http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182272.html | Mailing List, Third Party Advisory |
| http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182288.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00020.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00021.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00022.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00023.html | Mailing List, Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| samba:samba | >= 4.4.0, < 4.4.1; >= 4.3.0, < 4.3.7; >= 3.6.0, < 4.2.10 | /v1/products/samba/samba |
| debian:debian_linux | = 8.0, = 7.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 16.04, = 15.10, = 14.04, = 12.04 | /v1/products/canonical/ubuntu_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| samba-team/samba | fix | yes | /v1/repositories/samba-team/samba |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2016-04-17
- Remote: yes
- Exposed hosts: 21109361
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports