First published: Thu Nov 01 2018(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Samba | >=4.0.0<=4.0.26 | |
Samba | >=4.1.0<=4.1.23 | |
Samba | >=4.2.0<=4.2.14 | |
Samba | >=4.3.0<4.3.13 | |
Samba | >=4.4.0<4.4.8 | |
Samba | >=4.5.0<4.5.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-2123 is considered a critical vulnerability due to the potential for an attacker-controlled memory overwrite.
The recommended fix for CVE-2016-2123 is to upgrade Samba to a version that is not affected, such as versions 4.5.3 and above.
CVE-2016-2123 affects users of Samba versions 4.0.0 to 4.5.2, particularly those who can write to the dnsRecord attribute.
CVE-2016-2123 involves the Samba ndr_pull_dnsp_name routine and the parsing of data from the Samba Active Directory ldb database.
CVE-2016-2123 can be exploited by authenticated users who have the ability to modify DNS records.