Skip to content

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

HighCVSS 8.8 EPSS 6.2%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/samba(Debian:12) < 2:4.5.2+dfsg-2 2:4.5.2+dfsg-2
debian/samba(Debian:13) < 2:4.5.2+dfsg-2 2:4.5.2+dfsg-2
debian/samba(Debian:14) < 2:4.5.2+dfsg-2 2:4.5.2+dfsg-2
samba >= 4.0.0, <= 4.0.26 No fix listed
samba >= 4.1.0, <= 4.1.23 No fix listed
samba >= 4.2.0, <= 4.2.14 No fix listed
samba >= 4.3.0, < 4.3.13 4.3.13
samba >= 4.4.0, < 4.4.8 4.4.8
samba >= 4.5.0, < 4.5.3 4.5.3
[UNKNOWN] samba = versions 4.0.0 to 4.5.2 No fix listed
alpine/samba(Alpine:v3.2) >= 4.2.0, < 4.2.14-r1 4.2.14-r1
alpine/samba(Alpine:v3.3) >= 4.2.0, < 4.2.14-r1 4.2.14-r1
alpine/samba(Alpine:v3.4) >= 4.4.0, < 4.4.5-r2 4.4.5-r2

References