Skip to main content

Samba CVE-2016-2118

HIGH
7PK - Security Features (CWE-254)
2016-04-12 secalert@redhat.com
7.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
Impact

CVSS score of 7.5 (HIGH). Attack characteristics: network attack vector, high complexity, no privileges required, user interaction required. Public proof-of-concept exploit code is available. EPSS exploitation probability: 78.52%.

Exploit ScenarioDerived

This vulnerability can be exploited remotely over the network. Successful exploitation could compromise the high-severity affected system.

Act Now Prioritize within 24-48h. Why: HIGH severity + EPSS > 10%.
No patch listed yet 78.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

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. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required. Public exploit code available and EPSS exploitation probability 78.5%.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified under CWE-254. 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." Affected products include: Samba, Canonical Ubuntu Linux, Debian Debian Linux. Version information: before 4.2.11.

Know when Samba gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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

Threat Intelligence Overview

Threat Score
5.4/10
Composite threat intelligence
EPSS Score
78.5%
Top 1% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 78.5%
Patch available No
Active threat Yes
Deciding rule
HIGH severity + EPSS > 10%
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

137
Low Medium High Critical
KEV: 0
EPSS: +79
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

More in Samba

View all
CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-1182 CRITICAL POC
10.0 Apr 10

The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement valida

CVE-2015-0240 CRITICAL POC
10.0 Feb 24

The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1

CVE-2013-4124 MEDIUM POC
5.0 Aug 06

Integer overflow in the read_nttrans_ea_list function in nttrans.c in smbd in Samba 3.x before 3.5.22, 3.6.x before 3.6.

CVE-2014-3560 HIGH
7.9 Aug 06

NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attackers to exec

CVE-2012-0870 HIGH
7.9 Feb 23

Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry Play

CVE-2015-7540 HIGH
7.5 Dec 29

The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful

CVE-2017-15275 HIGH
7.5 Nov 27

Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to c

CVE-2017-14746 CRITICAL
9.8 Nov 27

Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a crafted S

CVE-2024-12085 HIGH POC
7.5 Jan 14

A flaw was found in rsync which could be triggered when rsync compares file checksums. Rated high severity (CVSS 7.5), t

CVE-2015-5252 HIGH POC
7.2 Dec 29

vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names with cert

CVE-2024-12084 CRITICAL POC
9.8 Jan 15

A heap-based buffer overflow flaw was found in the rsync daemon. Rated critical severity (CVSS 9.8), this vulnerability

References

Advisories & patches
ADVISORY https://www.samba.org/samba/latest_news.html#4.4.2 ADVISORY https://www.samba.org/samba/security/CVE-2016-2118.html REF http://badlock.org/ REF http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182185.html REF http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182272.html REF http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182288.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00020.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00021.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00022.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00023.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00024.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html REF http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html REF http://rhn.redhat.com/errata/RHSA-2016-0611.html REF http://rhn.redhat.com/errata/RHSA-2016-0612.html REF http://rhn.redhat.com/errata/RHSA-2016-0613.html REF http://rhn.redhat.com/errata/RHSA-2016-0614.html REF http://rhn.redhat.com/errata/RHSA-2016-0618.html REF http://rhn.redhat.com/errata/RHSA-2016-0619.html REF http://rhn.redhat.com/errata/RHSA-2016-0620.html REF http://rhn.redhat.com/errata/RHSA-2016-0621.html REF http://rhn.redhat.com/errata/RHSA-2016-0623.html REF http://rhn.redhat.com/errata/RHSA-2016-0624.html REF http://rhn.redhat.com/errata/RHSA-2016-0625.html REF http://www.debian.org/security/2016/dsa-3548 REF http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html REF http://www.securityfocus.com/bid/86002 REF http://www.securitytracker.com/id/1035533 REF http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.458012 REF http://www.ubuntu.com/usn/USN-2950-1 REF http://www.ubuntu.com/usn/USN-2950-2 REF http://www.ubuntu.com/usn/USN-2950-3 REF http://www.ubuntu.com/usn/USN-2950-4 REF http://www.ubuntu.com/usn/USN-2950-5 REF https://access.redhat.com/security/vulnerabilities/badlock REF https://bto.bluecoat.com/security-advisory/sa122 REF https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05162399 REF https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05166182 REF https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes REF https://kb.netapp.com/support/s/article/ka51A0000008SXzQAM/smb-vulnerabilities-in-multiple-netapp-products REF https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40196 REF https://security.gentoo.org/glsa/201612-47 REF https://www.kb.cert.org/vuls/id/813296 REF https://www.samba.org/samba/history/samba-4.2.10.html

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy