Bug 1392702 (CVE-2016-2123) - CVE-2016-2123 samba: NDR Parsing ndr_pull_dnsp_name Heap-based Buffer Overflow Remote Code Execution Vulnerability (ZDI-CAN-3995)
Summary: CVE-2016-2123 samba: NDR Parsing ndr_pull_dnsp_name Heap-based Buffer Overflo...
Alias: CVE-2016-2123
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On:
Blocks: 1392703
TreeView+ depends on / blocked
Reported: 2016-11-08 03:22 UTC by Huzaifa S. Sidhpurwala
Modified: 2021-02-17 03:04 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-12-16 06:31:17 UTC

Attachments (Terms of Use)

Description Huzaifa S. Sidhpurwala 2016-11-08 03:22:07 UTC
As per upstream:

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.

Comment 4 Huzaifa S. Sidhpurwala 2016-12-16 06:29:57 UTC

Red Hat Enterprise Linux 5, 6 and 7 are not affected by this flaw because we do not ship Samba with the AD DNS Server, which is the vulnerable component.

Comment 5 Huzaifa S. Sidhpurwala 2016-12-20 03:20:44 UTC
External Reference:


Note You need to log in before you can comment on or make changes to this bug.