Back
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…
Medium6.9EPSS 0.72%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 0.72% · top 46% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Weakness
Affected products
n/a
- affected n/a
References (19)
- http://www.samba.org/samba/security/CVE-2007-4138.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2007:1016 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 25636 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20070911 [SECURITY] Winbind's rfc2307 & SFU nss_info plugin in Samba 3.0.25[a-c] assigns users a primary gid of 0 by default (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- TA07-352A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- SSA:2007-255-02 (opens in a new tab)vendor-advisoryx_refsource_SLACKWAREx_transferred
- 3135 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- ADV-2007-3120 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 26764 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 26834 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 26795 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1018681 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- FEDORA-2007-2145 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- http://docs.info.apple.com/article.html?artnum=307179 (opens in a new tab)x_refsource_CONFIRMx_transferred
- samba-smb-privilege-escalation(36560) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- https://issues.rpath.com/browse/RPL-1705 (opens in a new tab)x_refsource_CONFIRMx_transferred
- oval:org.mitre.oval:def:10375 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 26776 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2007:1017 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-4138)Record last updated .