Samba smb.conf privilege escalation
| samba-smb-privilege-escalation (36560) |
Description:
Samba could allow a local attacker to gain elevated privileges. If the "winbind nss info" parameter in smb.conf is set to sfu or rfc2307 and if sfu or rfc2307 primary groups are missing, an attacker could exploit this vulnerability to gain primary group ID zero privileges.
*CVSS:
| Base Score: | 6.2 |
| Access Vector: | Local |
| Access Complexity: | High |
| Authentication: | None |
| Confidentiality Impact: | Complete |
| Integrity Impact: | Complete |
| Availability Impact: | Complete |
| Temporal Score: | 4.6 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Upgrade to the latest version of Samba (3.0.26 or later), available from the Samba Web site. See References.
References:
- Samba Web site: Samba - opening windows to a wider world.
- Samba Web site: Incorrect primary group assignment domain users using the rfc2307 or sfu winbind nss info plugin.
- ASA-2007-489: Samba security update (RHSA-2007-1016)
- BID-25636: Samba NSS_Info Plugin Local Privilege Escalation Vulnerability
- CVE-2007-4138: The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25 through 3.0.25c, when the winbind nss info option is set to rfc2307 or sfu, grants all local users the privileges of gid 0 when the (1) RFC2307 or (2) Services for UNIX (SFU) primary group attribute is not defined.
- RHSA-2007-1016: Critical: samba security update
- RHSA-2007-1017: Critical: samba security update
- SA26764: Samba "winbind nss info" Privilege Escalation Security Issue
- SECTRACK ID: 1018681: Samba Winbind SFU/RFC2307 GID Error Lets Local Users Gain Elevated Privileges
- VUPEN/ADV-2007-3120: Samba winbind nss info Group ID Local Privilege Escalation Vulnerability
Platforms Affected:
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client
- Samba Samba 3.0.25
- Samba Samba 3.0.25a
- Samba Samba 3.0.25b
- Samba Samba 3.0.25c
Reported:
Sep 11, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
