CVE-2019-14861
JSON

5.3medium

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

Severity
5.3medium CVSS:3.0 by redhat
Exploit likelihood
2.30% (higher than 83% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
Red Hat sambaall 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.17CVE List
samba sambafrom 4.0.0 before 4.9.17, from 4.10.0 before 4.10.11, from 4.11.0 before 4.11.3NVD
fedoraproject fedora30, 31NVD
canonical ubuntu_linux14.04, 16.04, 18.04, 19.04, 19.10NVD
opensuse leap15.1NVD
debian debian_linux9.0NVD

All scores

redhat5.3medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:N/A:P

Classification

CWE-276

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Todas las versiones de Samba versiones 4.x.x anteriores a 4.9.17, versiones 4.10.x anteriores a 4.10.11 y versiones 4.11.x anteriores a 4.11.3, presentan un problema en el que la tubería RPC dnsserver (pobremente nombrada) provee instalaciones administrativas para modificar registros y zonas DNS. Samba, cuando actúa como AD DC, almacena registros DNS en LDAP. En AD, los permisos predeterminados en la partición DNS permiten la creación de nuevos registros por parte de usuarios autenticados. Esto es usado, por ejemplo, para permitir que las máquinas se registren automáticamente en DNS. Si un registro DNS fue creado que no distingue entre mayúsculas y minúsculas el nombre de la zona, las rutinas ldb_qsort() y dns_name_compare() podrían ser confundidas en la memoria de lectura antes de la lista de entradas DNS al responder a la función DnssrvEnumRecords() o DnssrvEnumRecords2() y entonces seguir la memoria inválida como un puntero.

References

https://usn.ubuntu.com/4217-1/third-party-advisory, vendor-advisory
https://usn.ubuntu.com/4217-2/third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PJH3ROOFYMOATD2UEPC47P5RPBDTY77E/vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00038.htmlmailing-list, third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNKA4YIPV7AZR7KK3GW6L3HKGHSGJZFE/vendor-advisory
https://security.gentoo.org/glsa/202003-52third-party-advisory, vendor-advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14861issue-tracking, third-party-advisory
https://security.netapp.com/advisory/ntap-20191210-0002/third-party-advisory
https://www.samba.org/samba/security/CVE-2019-14861.htmlvendor-advisory
https://www.synology.com/security/advisory/Synology_SA_19_40third-party-advisory
https://lists.debian.org/debian-lts-announce/2021/05/msg00023.htmlmailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2024/06/24/3mailing-list

Sources

SourceRecordLicence
CVE ListCVE-2019-14861 changed 2024-08-05CVE Terms of Use
NVDCVE-2019-14861 changed 2026-06-17Public domain