ASA-2019-00230 – Samba: World writable files in Samba AD DC private/ dir


Allele Security Alert

ASA-2019-00230

Identifier(s)

ASA-2019-00230, CVE-2019-3870

Title

World writable files in Samba AD DC private/ dir

Vendor(s)

The Samba Project

Product(s)

Samba

Affected version(s)

Samba 4.8

Fixed version(s)

Samba 4.9.6
Samba 4.10.2

Proof of concept

Unknown

Description

During the creation of a new Samba AD DC, files are created in a the private/ subdirectory of our 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, that is world-writable, including a sample krb5.conf and the list of DNS names and servicePrincipalName values to update.

Technical details

Unknown

Credits

Björn Baumbach

Reference(s)

World writable files in Samba AD DC private/ dir
https://www.samba.org/samba/security/CVE-2019-3870.html

CVE-2019-3870
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3870

CVE-2019-3870
https://nvd.nist.gov/vuln/detail/CVE-2019-3870

If there is any error in this alert or you wish a comprehensive analysis, let us know.

Last modified: April 27, 2019

We are not responsible for any data loss, device corruption or any other type of issue due to the use of any information mentioned in our security alerts.