samba: World writable files in Samba AD DC private/ dir
Published Apr 9, 2019
6.1
MEDIUMCVSS 3.1
EPSS 0.55%
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
-
- Version 4.10.2StatusaffectedConstraints-
- Version 4.9.6StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The Samba Project | Samba | n/a |
|
Configuration 1
Configuration 2
- 29
- 30
Configuration 3
- n/a
- 1.2
- 5.2
- 6.1
- 6.2
Configuration 4
- n/a
Configuration 5
- < 2.3.6-1720
No data.
Red Hat Enterprise Linux 5
samba
Not affected
Red Hat Enterprise Linux 6
samba
Not affected
Red Hat Enterprise Linux 7
samba
Not affected
Red Hat Enterprise Linux 8
samba
Not affected
Red Hat Storage 3
samba
Not affected
Red Hat Virtualization 4
redhat-virtualization-host
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 6 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 7 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 8 | samba | Not affected | n/a |
| Red Hat Storage 3 | samba | Not affected | n/a |
| Red Hat Virtualization 4 | redhat-virtualization-host | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of samba as shipped with Red Hat Enterprise Linux or Red Hat Gluster Storage 3 as they did not include support for Active Directory Domain Controller.
References (11)
- https://access.redhat.com/security/cve/CVE-2019-3870 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1689010 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=13834 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-3870
- https://support.f5.com/csp/article/K20804356 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-3870
- https://www.samba.org/samba/security/CVE-2019-3870.html x_refsource_MISCMitigationPatchVendor Advisory
- https://www.synology.com/security/advisory/Synology_SA_19_15 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.