Vulnerability in Samba
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.023, 83.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Samba
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 30, 31
- openSUSE Leap — versions 15.1
- Red Hat Samba — versions all versions 4.11.x before 4.11.3, all versions 4.10.x before 4.10.11, all versions 4.x.x before 4.9.17
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-4217-1 (vendor-advisory, Third Party Advisory)
- USN-4217-2 (vendor-advisory, Third Party Advisory)
- FEDORA-2019-be98a08835 (vendor-advisory)
- openSUSE-SU-2019:2700 (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2019-11dddb785b (vendor-advisory)
- GLSA-202003-52 (vendor-advisory, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20191210-0002/ (Third Party Advisory)
- www.samba.org/samba/security/CVE-2019-14861.html (Vendor Advisory)
- www.synology.com/security/advisory/Synology_SA_19_40 (Third Party Advisory)