CVE-2016-2118

HIGH

Samba 3.6.0-4.2.9, 4.3.0-4.3.7, 4.4.0-4.4.1 - Man-in-the-Middle Protocol Downgrade via DCERPC Connection Tampering

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-2118. PoCs published by nickanderson.

AI-analyzed exploit summary The repository contains only a Makefile for installing files to a CFEngine masterfiles directory, with no actual exploit code or technical details about CVE-2016-2118. It appears to be a placeholder or partial implementation.

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."

Exploits (1)

nomisec STUB
by nickanderson · poc
https://github.com/nickanderson/cfengine-CVE-2016-2118

The repository contains only a Makefile for installing files to a CFEngine masterfiles directory, with no actual exploit code or technical details about CVE-2016-2118. It appears to be a placeholder or partial implementation.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: CFEngine
Auth required
Prerequisites: Access to CFEngine masterfiles directory
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (45)

Core 45
Core References
Mailing List, Third Party Advisory vendor-advisory x_refsource_slackware
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.458012
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00020.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0612.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2950-1
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00024.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0613.html
Technical Description, Third Party Advisory x_refsource_misc
http://badlock.org/
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0621.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2950-5
Third Party Advisory x_refsource_confirm
https://www.samba.org/samba/history/samba-4.2.10.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182185.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0624.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0618.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/86002
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00022.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00021.html
Vendor Advisory x_refsource_confirm
https://www.samba.org/samba/security/CVE-2016-2118.html
Vendor Advisory x_refsource_confirm
https://www.samba.org/samba/latest_news.html#4.4.2
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1035533
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182272.html
Third Party Advisory, US Government Resource third-party-advisory x_refsource_cert-vn
https://www.kb.cert.org/vuls/id/813296
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0614.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00023.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0620.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0611.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
Third Party Advisory x_refsource_confirm
https://bto.bluecoat.com/security-advisory/sa122
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2950-3
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182288.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0619.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201612-47
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2016/dsa-3548
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0623.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2950-2
Third Party Advisory x_refsource_confirm
https://access.redhat.com/security/vulnerabilities/badlock
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0625.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2950-4

Scores

CVSS v3 7.5
EPSS 0.3718
EPSS Percentile 98.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-254
Status published
Products (7)
canonical/ubuntu_linux 12.04
canonical/ubuntu_linux 14.04 (2 CPE variants)
canonical/ubuntu_linux 15.10
canonical/ubuntu_linux 16.04 (2 CPE variants)
debian/debian_linux 7.0
debian/debian_linux 8.0
samba/samba 3.6.0 - 4.2.10
Published Apr 12, 2016
Tracked Since Feb 18, 2026