cve.bz

CVE-2019-14861 Incorrect Default Permissions

5.3 mediumEPSS 2.3%

Medium (5.3). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-06-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-14861 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-14861?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-14861?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-14861 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambafrom 4.0.0 before 4.9.17
samba:sambafrom 4.10.0 before 4.10.11
samba:sambafrom 4.11.0 before 4.11.3
fedoraproject:fedora30
fedoraproject:fedora31
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04
canonical:ubuntu_linux19.10
opensuse:leap15.1
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9samba2:4.5.16+dfsg-1+deb9u4DLA-2668-1
Debian12, 13, 14samba2:4.11.3+dfsg-1DEBIAN-CVE-2019-14861
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.24UBUNTU-CVE-2019-14861 USN-4217-1
Ubuntu18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.14UBUNTU-CVE-2019-14861 USN-4217-1
UbuntuPro:14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4UBUNTU-CVE-2019-14861 USN-4217-2
SUSEEnterprise Storage 6, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise Module for Basesystem 15 SP1 and 1 moresamba4.9.5+git.224.86a8e66adea-3.18.1SUSE-SU-2019:3319-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.10.17+git.203.862547088ca-3.14.1SUSE-SU-2020:2673-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Module for Basesystem 15, Linux Enterprise Module for Package Hub 15samba4.7.11+git.202.6edee83fb34-4.34.1SUSE-SU-2019:3318-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5ldb1.5.8-3.5.1SUSE-SU-2020:2673-1
openSUSELeap 15.1samba4.9.5+git.224.86a8e66adea-lp151.2.12.1openSUSE-SU-2019:2700-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.10samba4.10.11-r0ALPINE-CVE-2019-14861
Alpinev3.11, v3.12, v3.13 and 11 moresamba4.11.3-r0ALPINE-CVE-2019-14861

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw does not affect the version of samba shipped with Red Hat Enterprise Linux because there is no support for samba as Active Directory Domain Controller.

Red Hat's mitigation

The dnsserver task can be stopped by setting

~~~

'dcerpc endpoint servers = -dnsserver'

~~~

in the smb.conf and restarting Samba.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Storage 3sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-14861.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON