The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25…
Priority LOW 32CWE-264Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.
Summary
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.
Why it matters now
EPSS 0.00724 54th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:3.0.25:*:*:*:*:*:*:* | 3.0.25 | Vulnerable | Samba |
| cpe:2.3:a:samba:samba:3.0.25a:*:*:*:*:*:*:* | 3.0.25a | Vulnerable | Samba |
| cpe:2.3:a:samba:samba:3.0.25b:*:*:*:*:*:*:* | 3.0.25b | Vulnerable | Samba |
| cpe:2.3:a:samba:samba:3.0.25c:*:*:*:*:*:*:* | 3.0.25c | Vulnerable | Samba |
- cpe:2.3:a:samba:samba:3.0.25:*:*:*:*:*:*:* Versions 3.0.25 Vulnerable ·Samba
- cpe:2.3:a:samba:samba:3.0.25a:*:*:*:*:*:*:* Versions 3.0.25a Vulnerable ·Samba
- cpe:2.3:a:samba:samba:3.0.25b:*:*:*:*:*:*:* Versions 3.0.25b Vulnerable ·Samba
- cpe:2.3:a:samba:samba:3.0.25c:*:*:*:*:*:*:* Versions 3.0.25c Vulnerable ·Samba
Remediation
Red Hat 2 advisories
- RHSA-2007:1017 Released 2007-11-15 · Red Hat rating Criticalsamba security update
- Red Hat Enterprise Linux (v. 5 server) samba-3.0.25b-1.el5_1.2, samba-3.0.25b-1.el5_1.2.i386, samba-3.0.25b-1.el5_1.2.ia64 +13
- Red Hat Enterprise Linux Desktop (v. 5 client) samba-3.0.25b-1.el5_1.2, samba-3.0.25b-1.el5_1.2.i386, samba-client-3.0.25b-1.el5_1.2 +5
- RHSA-2007:1016 Released 2007-11-15 · Red Hat rating Criticalsamba security update
- Red Hat Enterprise Linux AS version 4 samba-3.0.25b-1.el4_6.2, samba-3.0.25b-1.el4_6.2.i386, samba-3.0.25b-1.el4_6.2.ia64 +13
- Red Hat Enterprise Linux Desktop version 4 samba-3.0.25b-1.el4_6.2, samba-3.0.25b-1.el4_6.2.i386, samba-client-3.0.25b-1.el4_6.2 +5
- Red Hat Enterprise Linux ES version 4 samba-3.0.25b-1.el4_6.2, samba-3.0.25b-1.el4_6.2.i386, samba-3.0.25b-1.el4_6.2.ia64 +9
- Red Hat Enterprise Linux WS version 4 samba-3.0.25b-1.el4_6.2, samba-3.0.25b-1.el4_6.2.i386, samba-3.0.25b-1.el4_6.2.ia64 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2007:1017 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2007:1016 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2007:1017 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2007:1016 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2007:1016 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2007:1016 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-4138
- 2026-10-03 Alias added: GHSA-74rm-gxr2-j77h
References
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2007-4138 · CVE Program
- CVE-2007-4138 · NVD
- FIRST EPSS
- GHSA-74rm-gxr2-j77h · GitHub Advisory Database · CC BY 4.0
- CVE-2007-4138 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences