CVE-2007-4138 Privilege escalation in n/a
Local users gain root privileges in Samba when using specific Winbind NSS configurations with undefined primary group attributes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-4138?
CVE-2007-4138 is a medium-severity vulnerability in Samba Samba, published on 14 Sep 2007. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-264
Which versions are affected by CVE-2007-4138?
It affects 1 product.
Products include Samba Samba.
How do I fix CVE-2007-4138?
Upgrade to a fixed version.
Is CVE-2007-4138 being exploited?
There is no known exploitation of CVE-2007-4138 in the wild and no public exploit code.
Other vulnerabilities in Samba Samba
Sources
Also known as DEBIAN-CVE-2007-4138, GHSA-74rm-gxr2-j77h.