Original description
A vulnerability was found in Samba from version (including) 4.9 to versions before 4.9.6 and 4.10.2. During the creation of a new Samba AD DC, files are created in a private subdirectory of the install location. This directory is typically mode 0700, that is owner (root) only access. However in some upgraded installations it will have other permissions, such as 0755, because this was the default before Samba 4.8. Within this directory, files are created with mode 0666, which is world-writable, including a sample krb5.conf, and the list of DNS names and servicePrincipalName values to update.
Affected software
- Samba ≥ 4.9.0 < 4.9.6≥ 4.10.0 < 4.10.2 Fixed in: 4.9.6, 4.10.2 exact match
Details
- Published
- 2019-04-09
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H- CWE
- CWE-276
- EPSS (30-day exploit probability)
- 0.55% (percentile 47)
References
- cve.org/CVE-2019-3870
- nvd.nist.gov/vuln/detail/CVE-2019-3870
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870
- bugzilla.samba.org/show_bug.cgi?id=13834
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J...
- support.f5.com/csp/article/K20804356
- www.samba.org/samba/security/CVE-2019-3870.html
- www.synology.com/security/advisory/Synology_SA_19_15
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.