Samba < 3.0.37 / 3.2.15 / 3.3.8 / 3.4.2 Multiple Vulnerabilities

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


Synopsis :

The remote Samba server may be affected by multiple vulnerabilities.

Description :

According to its banner, the version of Samba server on the remote
host is earlier than 3.0.37 / 3.2.15 / 3.3.8 / 3.4.2. Such versions
are potentially affected by multiple issues :

- If a user in '/etc/passwd' is misconfigured to have an
empty home directory, then connecting to the home share
of this user will use the root of the file system as the
home directory. (CVE-2009-2813)

- Specially crafted SMB requests on authenticated
SMB connections can send smbd into a 100% loop, causing
a denial of service. (CVE-2009-2906)

- When 'mount.cifs' is installed as a setuid program, a
user can pass it a credential or password path to which
he or she does not have access and then use the
'--verbose' option to view the first line of that file.
(CVE-2009-2948)

See also :

http://www.samba.org/samba/security/CVE-2009-2906.html
http://www.samba.org/samba/security/CVE-2009-2948.html
http://www.samba.org/samba/security/CVE-2009-2813.html

Solution :

Upgrade to Samba 3.0.37 / 3.2.15 / 3.3.8 / 3.4.2 or later.

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:C)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 41970 ()

Bugtraq ID: 36572
36573

CVE ID: CVE-2009-2813
CVE-2009-2906
CVE-2009-2948