Buffer overflow in Samba

CVE-2016-2123

A flaw was found in samba versions 4.0.0 to 4.5.2. 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. By default, all authenticated LDAP users can write to the dnsRecord attribute on new DNS objects. This makes the defect a remote privilege escalation.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.062, 93.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Samba
  • [Unknown] Samba — versions versions 4.0.0 to 4.5.2

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2016-2123). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References