Incorrect default permissions in samba
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Samba Project | samba | 4.9.6; 4.10.2 | — | No fix listed | CNA |
- samba VendorThe Samba Project Affected 4.9.6; 4.10.2 Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.9.0 to before 4.9.6; 4.10.0 to before 4.10.2 | Vulnerable | Samba |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:a:synology:directory_server:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Synology |
| cpe:2.3:a:synology:router_manager:1.2:*:*:*:*:*:*:* | 1.2 | Vulnerable | Synology |
| cpe:2.3:o:synology:diskstation_manager:5.2:*:*:*:*:*:*:* | 5.2 | Vulnerable | Synology |
| cpe:2.3:o:synology:diskstation_manager:6.1:*:*:*:*:*:*:* | 6.1 | Vulnerable | Synology |
| cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:* | 6.2 | Vulnerable | Synology |
| cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Synology |
| cpe:2.3:h:synology:skynas:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Synology |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 4.9.0 to before 4.9.6; 4.10.0 to before 4.10.2 Vulnerable ·Samba
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:a:synology:directory_server:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Synology
- cpe:2.3:a:synology:router_manager:1.2:*:*:*:*:*:*:* Versions 1.2 Vulnerable ·Synology
- cpe:2.3:o:synology:diskstation_manager:5.2:*:*:*:*:*:*:* Versions 5.2 Vulnerable ·Synology
- cpe:2.3:o:synology:diskstation_manager:6.1:*:*:*:*:*:*:* Versions 6.1 Vulnerable ·Synology
- cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:* Versions 6.2 Vulnerable ·Synology
- cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Synology
- cpe:2.3:h:synology:skynas:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Synology
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
The Samba Project samba — FEDORA-2019-db21b5f1d2
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2019-02890 Path traversal in sambaPriority LOW 30
- Advisory ·
The Samba Project samba — FEDORA-2019-cacf88eabf
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2019-02890 Path traversal in sambaPriority LOW 30
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 6 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Storage 3
- Red Hat Virtualization 4
Timeline
- 2026-10-02 Threatist record created from CVE-2019-3870
- 2026-10-03 Alias added: GHSA-xv9q-3jh5-9rrc
References
Sources
- CVE-2019-3870 · CVE Program
- CVE-2019-3870 · NVD
- FIRST EPSS
- GHSA-xv9q-3jh5-9rrc · GitHub Advisory Database · CC BY 4.0
- CVE-2019-3870 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences