CVEvulnerability

CVE-2019-14861

5.3 MEDIUM Published 2019-12-10 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-12-10
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.3 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0 ([email protected])
5.3 MEDIUM — CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
3.5 LOW — AV:N/AC:M/Au:S/C:N/I:N/A:P
Weaknesses
CWE-276

Description

All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where the (poorly named) dnsserver RPC pipe provides administrative facilities to modify DNS records and zones. Samba, when acting as an AD DC, stores DNS records in LDAP. In AD, the default permissions on the DNS partition allow creation of new records by authenticated users. This is used for example to allow machines to self-register in DNS. If a DNS record was created that case-insensitively matched the name of the zone, the ldb_qsort() and dns_name_compare() routines could be confused into reading memory prior to the list of DNS entries when responding to DnssrvEnumRecords() or DnssrvEnumRecords2() and so following invalid memory as a pointer.

Affected configurations

• samba samba (>= 4.0.0 < 4.9.17) • samba samba (>= 4.10.0 < 4.10.11) • samba samba (>= 4.11.0 < 4.11.3) • fedoraproject fedora 30 • fedoraproject fedora 31 • canonical ubuntu linux 14.04 • canonical ubuntu linux 16.04 • canonical ubuntu linux 18.04 • canonical ubuntu linux 19.04 • canonical ubuntu linux 19.10 • opensuse leap 15.1 • debian debian linux 9.0

Related

Weakness · CWE (1)

  • CWE-276 Incorrect Default Permissions weakness

References