Samba 4.x < 4.0.1 AD DC LDAP Directory Objects Security Bypass

low Nessus Plugin ID 63561
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Samba server is affected by a security bypass vulnerability.

Description

According to its banner, the version of Samba 4.x running on the remote host is earlier than 4.0.1, and is, therefore, potentially affected by a security bypass vulnerability.

When acting as an Active Directory (AD) Domain Controller (DC), the application can improperly grant write access to an LDAP directory object or its attributes improperly. This error can be triggered when a user or group is granted any access to an LDAP directory object based on objectClass or is granted write access to any attribute on the object.

Note that, by default, the application does not make 'authenticated users' a part of the 'pre-windows 2000 compatible access' group, which is the group that typically receives the problematic per-objectClass permission.

Further note that Nessus has not actually tried to exploit this issue or otherwise determine if the patch or workaround has been applied.

Solution

Either install the patch referenced in the project's advisory or upgrade to 4.0.1 or later.

See Also

https://www.samba.org/samba/security/CVE-2013-0172.html

https://www.samba.org/samba/history/samba-4.0.1.html

http://www.nessus.org/u?80f5666c

Plugin Details

Severity: Low

ID: 63561

File Name: samba_4_0_1.nasl

Version: 1.9

Type: remote

Family: Misc.

Published: 1/16/2013

Updated: 11/15/2018

Dependencies: smb_nativelanman.nasl

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

Vector: AV:N/AC:M/Au:S/C:N/I:P/A:N

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:samba:samba

Required KB Items: SMB/NativeLanManager, SMB/samba, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 1/15/2013

Vulnerability Publication Date: 1/15/2013

Reference Information

CVE: CVE-2013-0172

BID: 57329