icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons icons_061

Samba 4.x < 4.0.4 AD DC File Permissions

Low

Synopsis

The remote Samba server is affected by a permissions vulnerability

Description

According to its banner, the version of Samba 4.x running on the remote host is earlier than 4.0.4. It is, therefore, affected by a file permissions vulnerability.

Files on Active Directory Domain Controllers(AD DC) may be created with world-writeable permissions when additional CIFS file shares are created on the AD DC.

Note that this issue does not affect the AD DC by default and thus, does not affect files in the 'sysvol' and 'netlogon' shares. Further, installs configured as standalone server, domain member, file server, classic domain controller and installs built with '--without-ad-dc' are not affected. However, it does affect files on shares with simple Unix permissions.

Solution

Either install the appropriate patch referenced in the project's advisory or upgrade 4.0.4 or later