Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Samba | Samba | >= 4.9.0, < 4.9.6 |
| Fedoraproject | Fedora | 29 |
| Synology | Directory Server | - |
| Synology | Router Manager | 1.2 |
| Synology | Diskstation Manager | 5.2 |
| Synology | Skynas Firmware | - |
| Synology | Skynas | - |
| Synology | Vs960Hd Firmware | < 2.3.6-1720 |
| Synology | Vs960Hd | - |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870Issue TrackingThird Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=13834ExploitIssue TrackingPatch
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://support.f5.com/csp/article/K20804356Third Party Advisory
- https://www.samba.org/samba/security/CVE-2019-3870.htmlMitigationPatchVendor Advisory
- https://www.synology.com/security/advisory/Synology_SA_19_15Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870Issue TrackingThird Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=13834ExploitIssue TrackingPatch
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://support.f5.com/csp/article/K20804356Third Party Advisory
- https://www.samba.org/samba/security/CVE-2019-3870.htmlMitigationPatchVendor Advisory
- https://www.synology.com/security/advisory/Synology_SA_19_15Third Party Advisory
FAQ
What is CVE-2019-3870?
CVE-2019-3870 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 instal...
How severe is CVE-2019-3870?
CVE-2019-3870 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-3870?
Check the references section above for vendor advisories and patch information. Affected products include: Samba Samba, Fedoraproject Fedora, Synology Directory Server, Synology Router Manager, Synology Diskstation Manager.