CWE
264
Advisory Published
Updated

CVE-2007-4138

First published: Fri Sep 14 2007(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Samba=3.0.25b
Samba=3.0.25a
Samba=3.0.25c
Samba=3.0.25

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the risk associated with CVE-2007-4138?

    CVE-2007-4138 can allow local users to gain root privileges due to improper handling of group attributes.

  • Which versions of Samba are affected by CVE-2007-4138?

    Samba versions 3.0.25, 3.0.25a, 3.0.25b, and 3.0.25c are affected by CVE-2007-4138.

  • How do I mitigate the effects of CVE-2007-4138?

    To mitigate CVE-2007-4138, ensure that the 'winbind nss info' option is not set to rfc2307 or sfu.

  • Is CVE-2007-4138 a critical vulnerability?

    CVE-2007-4138 is considered a serious vulnerability due to its potential to allow unauthorized access to system privileges.

  • What action should be taken if CVE-2007-4138 is detected in my system?

    If CVE-2007-4138 is detected, it is recommended to upgrade to a patched version of Samba immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203