Samba 3.x < 3.4.17 / 3.5.15 / 3.6.5 Security Bypass

medium Nessus Plugin ID 58949

Synopsis

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

Description

According to its banner, the version of Samba 3.x running on the remote host is earlier than 3.4.17 / 3.5.15 / 3.6.5, and as such, is potentially affected by a security bypass vulnerability.

Authenticated users are able to modify ownership of files and directories that the user does not own. Improper security checking related to the Local Security Authority (LSA) remote procedure calls (RPC) 'CreateAccount', 'OpenAccount', 'AddAccountRights' and 'RemoveAccountRights' can allow users these improper permissions.

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 3.4.17 / 3.5.15 / 3.6.5 or later.

As a temporary workaround, set the 'enable privileges = no' parameter in the [global] section of the smb.conf.

See Also

https://www.samba.org/samba/security/CVE-2012-2111.html

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

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

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

Plugin Details

Severity: Medium

ID: 58949

File Name: samba_3_6_5.nasl

Version: 1.11

Type: remote

Family: Misc.

Published: 5/1/2012

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

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: 4/30/2012

Vulnerability Publication Date: 4/30/2012

Reference Information

CVE: CVE-2012-2111

BID: 53307