Samba 3.2.0 - 3.2.6 Unauthorized Access

This script is Copyright (C) 2009-2014 Tenable Network Security, Inc.


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.

See also :

http://www.samba.org/samba/security/CVE-2009-0022.html
http://www.samba.org/samba/history/samba-3.2.7.html

Solution :

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

Risk factor :

Medium / CVSS Base Score : 6.0
(CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P)
CVSS Temporal Score : 5.0
(CVSS2#E:F/RL:OF/RC:ND)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 35298 ()

Bugtraq ID: 33118

CVE ID: CVE-2009-0022