CVE-2007-4138

Summary

CVECVE-2007-4138
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-09-14 01:17:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 6.9 from [email protected]

AV:L/AC:M/Au:N/C:C/I:C/A:C

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Samba Samba 3.0.25 All All All
Application Samba Samba 3.0.25a All All All
Application Samba Samba 3.0.25b All All All
Application Samba Samba 3.0.25c All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 slackware.com
US-CERT Technical Cyber Security Alert TA07-352A -- Apple Updates for Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.us-cert.gov US Government Resource
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Samba NSS_Info Plugin Local Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Patch
[SECURITY] Fedora 7 Update: samba-3.0.26a-0.fc7 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
issues.rpath.com/browse/RPL-1705 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
About Security Update 2007-009 af854a3a-2127-422b-91ae-364da2661108 docs.info.apple.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Samba Winbind SFU/RFC2307 GID Error Lets Local Users Gain Elevated Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
rPath update for samba and samba-swat - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
Samba "winbind nss info" Privilege Escalation Security Issue - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Patch, Vendor Advisory
Fedora update for samba - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Slackware update for samba - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Samba - Security Announcement Archive af854a3a-2127-422b-91ae-364da2661108 www.samba.org
SecurityReason - Winbind's rfc2307 & SFU nss_info plugin in Samba 3.0.25[a-c] assigns users a primary gid of 0 by default af854a3a-2127-422b-91ae-364da2661108 securityreason.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-09-18Mark J CoxNot vulnerable. These issues did not affect the versions of Samba as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report