Skip to content
Fencer Vulns
medium 6.9

CVE-2007-4138 json

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…

published 2007-09-14 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-4122

cvss
6.9
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 54%
public exploits
0
none known

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.

Patch / fix

  • samba Debian 14, Debian 13, Debian 12 3.0.26-1

debian advisories DEBIAN-CVE-2007-4138

  • samba RHEL 5 3.0.25b-1.el5_1.2
  • samba-swat RHEL 5 3.0.25b-1.el5_1.2
  • samba-client RHEL 5 3.0.25b-1.el5_1.2
  • samba-common RHEL 5 3.0.25b-1.el5_1.2
  • samba RHEL 4 3.0.25b-1.el4_6.2
  • samba-swat RHEL 4 3.0.25b-1.el4_6.2
  • samba-client RHEL 4 3.0.25b-1.el4_6.2
  • samba-common RHEL 4 3.0.25b-1.el4_6.2

red hat advisories RHSA-2007:1017RHSA-2007:1016

  • cifs-utils openSUSE Tumbleweed 6.13-1.3
  • samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1

opensuse advisories openSUSE-SU-2024:10683-1openSUSE-SU-2024:11365-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-4138 updated

samba incorrect primary group assignment for domain users using the rfc2307 or sfu winbind nss info plugin

  • Red Hat Enterprise Linux (v. 5 server) samba 3.0.25b-1.el5_1.2, samba-swat 3.0.25b-1.el5_1.2, samba-client 3.0.25b-1.el5_1.2, samba-common 3.0.25b-1.el5_1.2
    fixed: vendor fix RHSA-2007:1017
  • Red Hat Enterprise Linux AS version 4 samba 3.0.25b-1.el4_6.2, samba-swat 3.0.25b-1.el4_6.2, samba-client 3.0.25b-1.el4_6.2, samba-common 3.0.25b-1.el4_6.2
    fixed: vendor fix RHSA-2007:1016
  • Red Hat Enterprise Linux Desktop (v. 5 client) samba 3.0.25b-1.el5_1.2, samba-swat 3.0.25b-1.el5_1.2, samba-client 3.0.25b-1.el5_1.2, samba-common 3.0.25b-1.el5_1.2
    fixed: vendor fix RHSA-2007:1017
  • Red Hat Enterprise Linux Desktop version 4 samba 3.0.25b-1.el4_6.2, samba-swat 3.0.25b-1.el4_6.2, samba-client 3.0.25b-1.el4_6.2, samba-common 3.0.25b-1.el4_6.2 Red Hat Enterprise Linux ES version 4 samba 3.0.25b-1.el4_6.2, samba-swat 3.0.25b-1.el4_6.2, samba-client 3.0.25b-1.el4_6.2, samba-common 3.0.25b-1.el4_6.2 Red Hat Enterprise Linux WS version 4 samba 3.0.25b-1.el4_6.2, samba-swat 3.0.25b-1.el4_6.2, samba-client 3.0.25b-1.el4_6.2, samba-common 3.0.25b-1.el4_6.2
    fixed: vendor fix RHSA-2007:1016

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.