Samba "winbind nss info" Privilege Escalation Security Issue
Secunia Advisory: SA26764
Release Date: 2007-09-12
Popularity: 6,446 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

Software:Samba 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4138


Description:
A security issue has been reported in Samba, which can be exploited by malicious, local users to gain escalated privileges.

The security issue is caused due to Winbind incorrectly assigning a primary group id of 0 to the queried domain user when "winbind nss info" is set to "sfu" or "rfc2307". This can be exploited to gain escalated privileges, but requires that the RFC2307 or SFU (Services for Unix) primary group attributes are missing.

The security issue is reported in Samba versions from 3.0.25 to 3.0.25c.

Solution:
Update to version 3.0.26.
http://www.samba.org/samba/ftp/stable/samba-3.0.26.tar.gz

Apply vendor patch:
http://samba.org/samba/ftp/patches/security/samba-3.0.25-CVE-2007-4138.patch

Provided and/or discovered by:
The vendor credits Rick King.

Original Advisory:
http://samba.org/samba/security/CVE-2007-4138.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Subdreamer Light Global Variables SQL Injection Vulnerability // 74 views
2. Adobe Flash Player Multiple Vulnerabilities // 39 views
3. Microsoft Office Two Code Execution Vulnerabilities // 20 views
4. Microsoft Word Malformed Object Pointer Vulnerability // 19 views
5. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 18 views
6. Sun Java JDK / JRE Multiple Vulnerabilities // 17 views
7. VLC Media Player Multiple Vulnerabilities // 17 views
8. phpBB "cur_password" Cross-Site Scripting Vulnerability // 16 views
9. Opera Multiple Vulnerabilities // 15 views
10. phpBB "gen_rand_string()" Predictable RNG Weakness // 12 views