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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | samba | versions 4.0.0 to 4.5.2 |
References
- http://www.securityfocus.com/bid/94970Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037493Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2123Issue Tracking
- https://www.samba.org/samba/security/CVE-2016-2123.htmlPatch, Vendor Advisory
- http://www.securityfocus.com/bid/94970Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037493Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2123Issue Tracking
- https://www.samba.org/samba/security/CVE-2016-2123.htmlPatch, Vendor Advisory
Timeline
- Published
- Nov 1, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified