CVE-2019-3870 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...
MediumCVSS 6.1
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/samba(Debian:12) | < 2:4.9.5+dfsg-3 | 2:4.9.5+dfsg-3 |
| debian/samba(Debian:13) | < 2:4.9.5+dfsg-3 | 2:4.9.5+dfsg-3 |
| debian/samba(Debian:14) | < 2:4.9.5+dfsg-3 | 2:4.9.5+dfsg-3 |
| samba | >= 4.9.0, < 4.9.6 | 4.9.6 |
| samba | >= 4.10.0, < 4.10.2 | 4.10.2 |
| fedoraproject fedora | = 29 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| Synology directory server | All versions | No fix listed |
| Synology router manager | = 1.2 | No fix listed |
| Synology diskstation manager | = 5.2 | No fix listed |
| Synology diskstation manager | = 6.1 | No fix listed |
| Synology diskstation manager | = 6.2 | No fix listed |
| Synology skynas firmware | All versions | No fix listed |
| Synology vs960hd firmware | < 2.3.6-1720 | 2.3.6-1720 |
| The Samba Project samba | = 4.9.6 | No fix listed |
| The Samba Project samba | = 4.10.2 | No fix listed |
References
- Debian Security Tracker CVE-2019-3870 vendor-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- bugzilla.samba.org exploit issue-tracking patch vendor-advisory
- FEDORA-2019-db21b5f1d2 vendor-advisory
- FEDORA-2019-cacf88eabf vendor-advisory
- support.f5.com third-party-advisory
- www.samba.org mitigation patch vendor-advisory
- www.synology.com third-party-advisory