Secunia Advisory SA25232

Samba Multiple Vulnerabilities
Secunia Advisory SA25232
Track and eliminate the complete Vulnerability threat lifecycle

-

Track critical vulnerabilities affecting your infrastucture instantly
Release Date 2007-05-15
Last Update 2007-07-31
   
Popularity 13,017 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Privilege escalation
System access
Where From local network
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
Samba 3.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2007-2444 CVSS available in Customer Area
CVE-2007-2446 CVSS available in Customer Area
CVE-2007-2447 CVSS available in Customer Area
CVE-2007-4044 CVSS available in Customer Area
  

Description
Some vulnerabilities have been reported in Samba, which can be exploited by malicious users to perform certain actions with escalated privileges and to compromise a vulnerable system, and by malicious people to compromise a vulnerable system.

1) An error in smbd when translating SIDs to and from names can be exploited to issue SMB/CIFS protocol operations as the root user.

Successful exploitation requires a valid user session.

2) An input validation error when updating a user's password can be exploited to inject and execute arbitrary shell commands via a specially crafted MS-RPC call.

Successful exploitation of this vulnerability requires that the "username map script" option is set in smb.conf, which is not the default setting. In addition, to successfully exploit this vulnerability via remote printer and file share management, an attacker requires a valid user session.

3) Input validation errors exist in the parsing of RPC requests to the LSA RPC interface. This can be exploited to cause heap based buffer overflows via specially crafted requests to "LsarAddPrivilegesToAccount", "LsarLookupSids", or "LsarLookupSids2".

4) An input validation error exists in the parsing of RPC requests to the DFS RPC interface. This can be exploited to cause a heap based buffer overflow via a specially crafted request to "DFSEnum".

5) An input validation error exists in the parsing of RPC requests to the SPOOLSS RPC interface. This can be exploited to cause a heap based buffer overflow via a specially crafted request to "RFNPCNEX".

6) An input validation error exists in the parsing of RPC requests to the SRVSVC RPC interface. This can be exploited to cause a heap based buffer overflow via a specially crafted request to "NetSetFileSecurity".

Successful exploitation of vulnerabilities #3 through #6 allows execution of arbitrary code, but requires a valid user session.

Vulnerability #1 is reported in versions 3.0.23d through 3.0.25pre2. Vulnerabilities #2 through #6 are reported in versions 3.0.0 through 3.0.25rc3.

Solution
Apply patches or update to version 3.0.25.
Further details available in Customer Area

Provided and/or discovered by
1) The vendor credits Paul Griffith and Andrew Hogue.
2) Discovered by an anonymous person and reported via iDefense Labs.
3-6) Discovered by an anonymous person and reported via ZDI.

Changelog
Further details available in Customer Area

Original Advisory
Samba:
http://us1.samba.org/samba/security/CVE-2007-2444.html
http://us1.samba.org/samba/security/CVE-2007-2446.html
http://us1.samba.org/samba/security/CVE-2007-2447.html

iDefense Labs:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=534

ZDI:
http://www.zerodayinitiative.com/advisories/ZDI-07-029.html
http://www.zerodayinitiative.com/advisories/ZDI-07-030.html
http://www.zerodayinitiative.com/advisories/ZDI-07-031.html
http://www.zerodayinitiative.com/advisories/ZDI-07-032.html
http://www.zerodayinitiative.com/advisories/ZDI-07-033.html

Other references
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com
Subject: Samba Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.



footer
© 2002-2010 Secunia ApS • Weidekampsgade 14A, DK-2300 Copenhagen S, Denmark • +45 7020 5144 • Contact Us
Terms & Conditions and CopyrightReport vulnerability
CVE logo OTA logo First logo