Samba 3.2.0 - 3.2.6 Unauthorized Access

medium Nessus Plugin ID 35298

Synopsis

The remote Samba server may be affected by an unauthorized access vulnerability.

Description

According to its banner, the version of the Samba server on the remote host is between 3.2.0 and 3.2.6 inclusive. Such versions reportedly allow an authenticated, remote user to gain access to the root filesystem, subject to his or her privileges, by making a request for a share called '' (empty string) from a version of smbclient prior to 3.0.28. Successful exploitation of this issue requires 'registry shares' to be enabled, which is not enabled by default.

Note that Nessus has not actually tried to exploit this issue or to determine if 'registry shares' is enabled or if the fix has been applied.

Solution

Upgrade to Samba version 3.2.7 or later or apply the appropriate patch referenced in the project's advisory.

See Also

https://www.samba.org/samba/security/CVE-2009-0022.html

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

Plugin Details

Severity: Medium

ID: 35298

File Name: samba_3_2_7.nasl

Version: 1.15

Type: remote

Family: Misc.

Published: 1/6/2009

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 6

Temporal Score: 4.4

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

Vulnerability Information

CPE: cpe:/a:samba:samba

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

Exploit Ease: No known exploits are available

Reference Information

CVE: CVE-2009-0022

BID: 33118

CWE: 20

Secunia: 33379