The snoop command line utility is installed by default on Solaris. It is used to capture and display network traffic, similar to the widely used tcpdump program. Server Message Block (SMB), is a network protocol used for Microsoft Windows file sharing. More information can be found on the vendor's website at the following URL.
Remote exploitation of multiple format string vulnerabilities in Sun Microsystems Inc.'s snoop could allow an attacker to execute arbitrary code with the privileges of the nobody user.
Multiple format string vulnerabilities exist within the code that parses and displays SMB traffic. All of the vulnerabilities are present due to unsanitized user input being passed to printf-style formatting function. This allows an attacker to overwrite arbitrary addresses with arbitrary data, which can result in the execution of arbitrary code.
Exploitation of these vulnerabilities results in the execution of arbitrary code with the privileges of the nobody user. In addition, the attacker has access to the raw socket used by the snoop program. This allows them to capture any traffic visible to the network interface used.
Often in client-side vulnerabilities, an attacker only has a single chance to exploit the vulnerability. However, the snoop utility will handle any segmentation violations and attempt to continue capturing network traffic. This gives an attacker multiple opportunities to exploit a vulnerability, which increases the likelihood of successful exploitation.
iDefense has confirmed the existence of these vulnerabilities in snoop for Solaris 10 8/07. Other versions may also be affected.
iDefense is currently unaware of any workarounds for these issues.
Sun Microsystems has addressed these vulnerabilities with the release of patches for Solaris 8, 9, and 10, as well as OpenSolaris. For more information, refer to Sun Alert 240101 at the following URL.
The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2008-0965 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.
01/24/2008 Initial vendor notification
01/25/2008 Initial vendor response
08/04/2008 Coordinated public disclosure
These vulnerabilities were reported to iDefense by Gael Delalleau.
Get paid for vulnerability research
Free tools, research and upcoming events
Copyright © 2008 Verisign, Inc.
Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.
Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.