CVE-2019-14861
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of service disruption.
- Exploit odds
- 2.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.3% in the next 30 days (EPSS).
- Severity: 5.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.3% · EPSS, next 30 days
- Weakness
- CWE-276 · Incorrect default permissions
- Record status
- Modified
Affected
- Samba < 4.9.17
- Samba < 4.10.11
- Samba < 4.11.3
- Fedoraproject Fedora 30
- Fedoraproject Fedora 31
- Canonical Ubuntu Linux 14.04
- Canonical Ubuntu Linux 16.04
- Canonical Ubuntu Linux 18.04
Attack profile CVSS 3.1 · 5.3
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2019-14861.md and follow it. Check whether this project is affected by CVE-2019-14861. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://www.samba.org/samba/security/CVE-2019-14861.html
- https://www.samba.org/samba/security/CVE-2019-14861.html
References
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00038.html
- http://www.openwall.com/lists/oss-security/2024/06/24/3
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14861
- https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PJH3ROOFYMOATD2UEPC47P5RPBDTY77E/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNKA4YIPV7AZR7KK3GW6L3HKGHSGJZFE/
- https://security.gentoo.org/glsa/202003-52
- https://security.netapp.com/advisory/ntap-20191210-0002/
- https://usn.ubuntu.com/4217-1/
- https://usn.ubuntu.com/4217-2/
- https://www.samba.org/samba/security/CVE-2019-14861.html
- https://www.synology.com/security/advisory/Synology_SA_19_40
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00038.html
- http://www.openwall.com/lists/oss-security/2024/06/24/3
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14861
- https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PJH3ROOFYMOATD2UEPC47P5RPBDTY77E/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNKA4YIPV7AZR7KK3GW6L3HKGHSGJZFE/
- https://security.gentoo.org/glsa/202003-52
- https://security.netapp.com/advisory/ntap-20191210-0002/
- https://usn.ubuntu.com/4217-1/
- https://usn.ubuntu.com/4217-2/
- https://www.samba.org/samba/security/CVE-2019-14861.html
- https://www.synology.com/security/advisory/Synology_SA_19_40