NetSight
medium5.3

CVE-2019-14861

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 admi…

Impact

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 products

VendorProductAffected versions
SambaSamba
from 4.0.0 before 4.9.17
from 4.10.0 before 4.10.11
from 4.11.0 before 4.11.3
FedoraprojectFedora
Versions 30, 31
CanonicalUbuntu Linux
Versions 14.04, 16.04, 18.04, 19.04, 19.10
OpensuseLeap
Version 15.1
DebianDebian Linux
Version 9.0

Weakness classification

References