Samba up to 4.3.12/4.4.7/4.5.2 NDR Parsing ndr_pull_dnsp_name memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in Samba up to 4.3.12/4.4.7/4.5.2. Affected by this issue is the function ndr_pull_dnsp_name of the component NDR Parsing. Executing a manipulation can lead to memory corruption. This vulnerability is tracked as CVE-2016-2123. The attack can be launched remotely. No exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability has been found in Samba up to 4.3.12/4.4.7/4.5.2 (File Transfer Software) and classified as critical. This vulnerability affects the function ndr_pull_dnsp_name of the component NDR Parsing. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability.

The bug was discovered 12/19/2016. The weakness was disclosed 12/19/2016 by Frederic Besler with Zero Day Initiative as ZDI-CAN-3995 as confirmed advisory (Website) via ZDI (Zero Day Initiative). The advisory is shared for download at samba.org. The public release has been coordinated in cooperation with the vendor. This vulnerability was named CVE-2016-2123 since 01/29/2016. The exploitation appears to be easy. The attack can be initiated remotely. The successful exploitation requires a single authentication. There are known technical details, but no exploit is available. The advisory points out:

The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name parses data from the Samba Active Directory ldb database. Any user who can write to the dnsRecord attribute over LDAP can trigger this memory corruption.

The vulnerability scanner Nessus provides a plugin with the ID 96293 (openSUSE Security Update : samba (openSUSE-2017-11)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169460 (SUSE Enterprise Linux Security Update for samba (SUSE-SU-2016:3271-1)).

Upgrading to version 4.3.13, 4.4.8 or 4.5.3 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (96293), SecurityFocus (BID 94970†) and SecurityTracker (ID 1037493†). The entries VDB-94613 and VDB-94614 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.7
VulDB Meta Temp Score: 7.6

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CNA Base Score: 8.1
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 96293
Nessus Name: openSUSE Security Update : samba (openSUSE-2017-11)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 841810
OpenVAS Name: Ubuntu Update for samba USN-3158-1
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Samba 4.3.13/4.4.8/4.5.3

Timelineinfo

01/29/2016 🔍
12/19/2016 +325 days 🔍
12/19/2016 +0 days 🔍
12/19/2016 +0 days 🔍
12/19/2016 +0 days 🔍
12/20/2016 +1 days 🔍
12/20/2016 +0 days 🔍
01/05/2017 +16 days 🔍
11/01/2018 +665 days 🔍
10/12/2022 +1441 days 🔍

Sourcesinfo

Product: samba.org

Advisory: ZDI-CAN-3995
Researcher: Frederic Besler
Organization: Zero Day Initiative
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2016-2123 (🔍)
GCVE (CVE): GCVE-0-2016-2123
GCVE (VulDB): GCVE-100-94612

OVAL: 🔍

SecurityFocus: 94970 - Samba CVE-2016-2123 Heap Based Buffer Overflow Vulnerability
SecurityTracker: 1037493

See also: 🔍

Entryinfo

Created: 12/20/2016 10:32
Updated: 10/12/2022 12:21
Changes: 12/20/2016 10:32 (84), 07/11/2019 16:44 (7), 10/12/2022 12:13 (3), 10/12/2022 12:21 (12)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!