CVEvulnerability

CVE-2016-2123

8.8 HIGH Published 2018-11-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-11-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
8.1 HIGH — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
Weaknesses
CWE-119, CWE-122

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 configurations

• samba samba (>= 4.0.0 <= 4.0.26) • samba samba (>= 4.1.0 <= 4.1.23) • samba samba (>= 4.2.0 <= 4.2.14) • samba samba (>= 4.3.0 < 4.3.13) • samba samba (>= 4.4.0 < 4.4.8) • samba samba (>= 4.5.0 < 4.5.3)

Related

Weakness · CWE (2)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
  • CWE-122 Heap-based Buffer Overflow weakness

References