CVE-2019-3870 Misconfiguration in samba

Medium 6.1 Published Updated

In upgraded Samba AD DC installations, world-writable permissions on critical configuration files allow local attackers to modify data and potentially escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-3870?

CVE-2019-3870 is a medium-severity vulnerability in Fedoraproject Fedora, published on 9 Apr 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-276

Which versions are affected by CVE-2019-3870?

It affects 7 products.

Products include Fedoraproject Fedora, Samba Samba, Synology Directory Server, Synology Diskstation Manager, Synology Router Manager, Synology Skynas Firmware and 1 more.

How do I fix CVE-2019-3870?

Upgrade to a fixed version.

Is CVE-2019-3870 being exploited?

There is no known exploitation of CVE-2019-3870 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-45057, DEBIAN-CVE-2019-3870, ECHO-f10d-b8a7-46a1, GHSA-xv9q-3jh5-9rrc.

Is CVE-2019-3870 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free