Samba mishandles DCERPC connections allowing man-in-the-middle attacks
Multiple products
At a glance
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."
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 37.181%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:samba | samba | Affected versions:≥ 3.6.0, < 4.2.10Show full version range for samba≥ 4.3.0, < 4.3.7≥ 4.4.0, < 4.4.1 |
| Vendor:Canonical | ubuntu linux | Affected versions:12.04Show full version range for ubuntu linux14.0415.1016.04 |
| Vendor:Debian | debian linux | Affected versions:7.0Show full version range for debian linux8.0 |
| Vendor:Debian | ctdbEnvironments (4)
| Affected versions: < 2:4.3.7+dfsg-1 |
| Vendor:Debian | libnss-winbindEnvironments (4)
| Affected versions: < 2:4.3.7+dfsg-1 |
| Vendor:Debian | libpam-winbindEnvironments (4)
| Affected versions: < 2:4.3.7+dfsg-1 |
| Vendor:Debian | libparse-pidl-perlEnvironments (4)
| Affected versions: < 2:4.3.7+dfsg-1 |
| Vendor:Debian | libsmbclientEnvironments (4)
| Affected versions: < 2:4.3.7+dfsg-1 |
| Vendor:Debian | libsmbclient-devEnvironments (4)
| Affected versions: < 2:4.3.7+dfsg-1 |
| Vendor:Debian | libwbclient-devEnvironments (4)
| Affected versions: < 2:4.3.7+dfsg-1 |
1–10 of 1251 · Page 1 of 126
CVSS scores and metrics9
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HCVE-2016-2118 · OSV (source-vector)7.5 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Hcanonical · Wazuh CTI (adp)7.5 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Poraclelinux · Wazuh CTI (adp)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Predhat · Wazuh CTI (adp)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Palas · Wazuh CTI (adp)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories83
- cve.org
- NVD
- OSV
- Wazuh CTI
- FIRST EPSS
- securityfocus.com
- lists.opensuse.org
- lists.opensuse.org
- bto.bluecoat.com
- lists.opensuse.org
- samba.org
- lists.opensuse.org
- lists.opensuse.org
- security.gentoo.org
- debian.org
- securitytracker.com
- lists.opensuse.org
- access.redhat.com
- slackware.com
- oracle.com
- kb.pulsesecure.net
- lists.opensuse.org
- lists.opensuse.org
- ubuntu.com
- lists.fedoraproject.org
- rhn.redhat.com
- rhn.redhat.com
- ubuntu.com
- rhn.redhat.com
- h20566.www2.hpe.com
- ubuntu.com
- kb.netapp.com
- rhn.redhat.com
- rhn.redhat.com
- ubuntu.com
- h20566.www2.hpe.com
- rhn.redhat.com
- badlock.org
- ubuntu.com
- samba.org
- lists.fedoraproject.org
- rhn.redhat.com
- rhn.redhat.com
- samba.org
- lists.fedoraproject.org
- kb.cert.org
- rhn.redhat.com
- help.ecostruxureit.com
- rhn.redhat.com
- rhn.redhat.com
- openSUSE-SU-2016:1025-1
- openSUSE-SU-2016:1064-1
- security-tracker.debian.org
- openSUSE-SU-2016:1106-1
- openSUSE-SU-2016:1107-1
- ubuntu.com
- ubuntu.com
- access.redhat.com
- SUSE-SU-2016:1023-1
- SUSE-SU-2016:1024-1
- SUSE-SU-2016:1028-1
- SUSE CVE-2016-2118
- SUSE-SU-2016:1022-1
- openSUSE-SU-2016:1025-1
- openSUSE-SU-2016:1064-1
- openSUSE-SU-2016:1106-1
- openSUSE-SU-2016:1107-1
- SUSE-SU-2016:1022-1
- SUSE-SU-2016:1023-1
- SUSE-SU-2016:1024-1
- SUSE-SU-2016:1028-1
- Mitre CVE-2016-2118
- TID7017473
- TID7017482
- cve.mitre.org
- access.redhat.com
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- linux.oracle.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences