Multiple vulnerabilities have been identified in Samba, which could be exploited by remote or local attackers to cause a denial of service or take complete control of an affected system.
The first issue is caused by an error when translating SIDs to/from names using the local list of user and group accounts, which could be exploited by malicious local attackers to temporarily issue SMB/CIFS protocol operations as the root user.
The second vulnerability is caused by heap overflow errors in various NDR parsing routines when processing specially crafted MS-RPC requests, which could be exploited by remote attackers to execute arbitrary code with elevated privileges.
The third issue is caused by an input validation error in the "smbrun()" function that does not validate user-supplied parameters before being passed as arguments to "/bin/sh", which could be exploited by remote unauthenticated attackers (when the "username map script" option is enabled) or by authenticated users to inject and execute arbitrary shell commands.
Credits
Vulnerabilities reported by Paul Griffith, Andrew Hogue, ZDI and iDefense Labs.
ChangeLog
2007-05-14 : Initial release
Vulnerability Management
Subscribe to FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form or by email to updates@frsirt.com.