CVE-2019-3870

Related Vulnerabilities: CVE-2019-3870  

Impact: Moderate Public Date: 2019-04-09 CWE: CWE-125 Bugzilla: 1689010: CVE-2019-3870 samba: World writable files in Samba AD DC private/ dir A vulnerability was found in Samba versions 4.9 and later. 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.

A vulnerability was found in Samba versions 4.9 and later. 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.

Find out more about CVE-2019-3870 from the MITRE CVE dictionary dictionary and NIST NVD.

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.

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 6.1
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity Impact Low
Availability Impact High

Affected Packages State

Platform Package State
Red Hat Virtualization 4 redhat-virtualization-host Not affected
Red Hat Gluster Storage 3 samba Not affected
Red Hat Enterprise Linux 7 samba Not affected
Red Hat Enterprise Linux 6 samba Not affected
Red Hat Enterprise Linux 5 samba Not affected

Acknowledgements

Red Hat would like to thank Björn Baumbach (SerNet) for reporting this issue.

External References