Samba idmap_ad.so Winbind nss_info Extension Local Privilege Escalation

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


Synopsis :

The remote Samba server is affected by a local privilege escalation
vulnerability.

Description :

According to its banner, the version of the Samba server installed on
the remote host is affected by a local privilege escalation
vulnerability. Specifically, the Winbind nss_info extension, when the
'winbind nss info' option is set to 'rfc2307' or 'sfu', grants local
users the privileges of gid 0 if the 'RFC2307' or 'Services for UNIX'
primary group attribute is not defined.

See also :

http://www.samba.org/samba/security/CVE-2007-4138

Solution :

Upgrade to Samba version 3.0.26 or later.

Risk factor :

Medium / CVSS Base Score : 6.9
(CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 5.7
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 17719 ()

Bugtraq ID: 25636

CVE ID: CVE-2007-4138