CVE-2007-4138
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Samba 3.0.25
- Samba 3.0.25a
- Samba 3.0.25b
- Samba 3.0.25c
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-4138.md and follow it. Check whether this project is affected by CVE-2007-4138. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/26764
- http://www.securityfocus.com/bid/25636
- http://secunia.com/advisories/26764
- http://www.securityfocus.com/bid/25636
References
- http://docs.info.apple.com/article.html?artnum=307179
- http://secunia.com/advisories/26764
- http://secunia.com/advisories/26776
- http://secunia.com/advisories/26795
- http://secunia.com/advisories/26834
- http://securityreason.com/securityalert/3135
- http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.419439
- http://www.redhat.com/support/errata/RHSA-2007-1016.html
- http://www.redhat.com/support/errata/RHSA-2007-1017.html
- http://www.samba.org/samba/security/CVE-2007-4138.html
- http://www.securityfocus.com/archive/1/479078/100/0/threaded
- http://www.securityfocus.com/bid/25636
- http://www.securitytracker.com/id?1018681
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html
- http://www.vupen.com/english/advisories/2007/3120
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36560
- https://issues.rpath.com/browse/RPL-1705
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10375
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00201.html
- http://docs.info.apple.com/article.html?artnum=307179
- http://secunia.com/advisories/26764
- http://secunia.com/advisories/26776
- http://secunia.com/advisories/26795
- http://secunia.com/advisories/26834
- http://securityreason.com/securityalert/3135