__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Vulnerability in Message Queuing [Microsoft Security Bulletin (MS07-065)] December 11, 2007 21:00 GMT Number S-077 [REVISED 14 Dec 2007] [REVISED 20 Dec 2007] [REVISED 17 Jan 2008] ______________________________________________________________________________ PROBLEM: A remote code execution vulnerability exists in the Message Queuing Service when it incorrectly validates input strings before passing the strings to a buffer. PLATFORM: Windows 2000 Service Pack 4 Windows XP (all editions) Storage Management Appliance v2.0 Software running on : Storage Management Appliance I, II, III DAMAGE: A remote code execution. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A remote code execution. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/s-077.shtml ORIGINAL BULLETIN: http://www.microsoft.com/technet/security/Bulletin/MS07-065.mspx ADDITIONAL LINK: Visit Hewlett-Packard's Subscription Service for: HPSBST02299 SSRT071506 rev. 1 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2007-3039 ______________________________________________________________________________ REVISION HISTORY: 12/14/2007 - revised S-077 to reflect changes Microsoft has made in MS07-065 where updated the bulletin to reflect that the attacker must log on for local elevation of privilege on Microsoft Windows 2000 Professional and Windows XP. 12/20/2007 - revised S-077 to reflect changes Microsoft has made in MS07-065 to reflect a change to the Removal Information text in the Reference Table portion of the Security Update Information Section and to add a link to Hewlett-Packard HPSBST02299 SSRT071506 rev. 1 for Storage Management Appliance v2.0 Software running on : Storage Management Appliance I, II, III. 01/17/2008 - revised S-077 to reflect changes Microsoft has made in MS07-065 where they added Windowx XP Home Edition SP2 to the Non-Affected Software table. [***** Start Microsoft Security Bulletin (MS07-065) *****] Microsoft Security Bulletin MS07-065 – Important Vulnerability in Message Queuing Could Allow Remote Code Execution (937894) Published: December 11, 2007 | Updated: January 16, 2008 Version: 1.3 General Information Executive Summary This important security update resolves a privately reported vulnerability in Message Queuing Service (MSMQ) that could allow remote code execution in implementations on Microsoft Windows 2000 Server, or elevation of privilege in implementations on Microsoft Windows 2000 Professional and Windows XP. An attacker must have valid logon credentials to exploit this vulnerability. An attacker could then install programs; view, change, or delete data; or create new accounts. This is an important security update for supported editions of Microsoft Windows 2000 Server and a moderate security update for supported editions of Windows XP and Windows 2000 Professional. For more information, see the subsection, Affected and Non-Affected Software, in this section. This security update addresses this vulnerability by validating the input string before copying it to the buffer. For more information about the vulnerabilities, see the Frequently Asked Questions (FAQ) subsection for the specific vulnerability entry under the next section, Vulnerability Information. Recommendation. Microsoft recommends that customers apply the update at the earliest opportunity. Known Issues. None Top of section Affected and Non-Affected Software The software listed here have been tested to determine which versions or editions are affected. Other versions or editions are either past their support life cycle or are not affected. To determine the support life cycle for your software version or edition, visit Microsoft Support Lifecycle. Affected Software Operating System Maximum Security Impact Aggregate Severity Rating Bulletins Replaced by This Update Microsoft Windows 2000 Server Service Pack 4 and Microsoft Windows 2000 Professional Service Pack 4 Remote Code Execution Important MS05-017 Windows XP Service Pack 2 Elevation of Privilege Moderate None Non Affected Software Operating System Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2 Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2 Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2 Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems Windows Vista Windows Vista x64 Edition Windows Vista Home Edition SP2 Vulnerability Information Severity Ratings and Vulnerability Identifiers Affected Software Message Queuing Service Remote Code Execution Vulnerability – CVE-2007-3039 Aggregate Severity Rating Microsoft Windows 2000 Server Service Pack 4 Important Top of section Message Queuing Service Remote Code Execution Vulnerability – CVE-2007-3039 A remote code execution vulnerability exists in the Message Queuing Service when it incorrectly validates input strings before passing the strings to a buffer. An attacker could exploit the vulnerability by constructing a specially crafted MSMQ message that could allow remote code execution in a remote attack scenario on Microsoft Windows 2000 Server and a local elevation of privilege in a local scenario on Microsoft Windows 2000 Professional and Windows XP. An attacker who successfully exploited this vulnerability could take complete control of an affected system. To view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2007-3039. Mitigating Factors for Message Queuing Service Remote Code Execution Vulnerability – CVE-2007-3039 Mitigation refers to a setting, common configuration, or general best- practice, existing in a default state, that could reduce the severity of exploitation of a vulnerability. The following mitigating factors may be helpful in your situation: • An attacker must have valid logon credentials in order to exploit this vulnerability on Windows XP. • By default, the Message Queuing component is not installed on any affected operating system edition and can only be enabled by a user with administrative privileges. Only customers who manually install the Message Queuing component are likely to be vulnerable to this issue. • For customers that require the the Message Queuing component, firewall best practices and standard default firewall configurations can help protect networks from attacks that originate outside the enterprise perimeter. Best practices recommend that systems that are connected to the Internet have a minimal number of ports exposed. Top of section Security Update Deployment Affected Software For information about the specific security update for your affected software, click the appropriate link: * Windows 2000 Service Pack 4 * Windows XP (all editions) Other Information Acknowledgments Microsoft thanks the following for working with us to help protect customers: • Zero Day Initiative for reporting the MSMQ Remote Code Execution Vulnerability – (CVE-2007-3039). • Venustech of ADLABS for reporting the MSMQ Remote Code Execution Vulnerability – (CVE-2007-3039). Top of section Support • Customers in the U.S. and Canada can receive technical support from Microsoft Product Support Services at 1-866-PCSAFETY. There is no charge for support calls that are associated with security updates. • International customers can receive support from their local Microsoft subsidiaries. There is no charge for support that is associated with security updates. For more information about how to contact Microsoft for support issues, visit the International Support Web site. Top of section Disclaimer The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. Top of section Revisions • V1.0 (December 11, 2007): Bulletin published. • V1.1 (December 11, 2007): Bulletin updated to reflect that the attacker must log on for local elevation of privilege on Microsoft Windows 2000 Professional and Windows XP. • V1.2 (December 19, 2007): Bulletin updated to combine references to Windows 2000 Professional and Windows 2000 Server with a reference to Windows 2000 due to both platforms sharing the same vulnerability and severity. • V1.3 (January 16, 2008): Bulletin updated to add Windows XP Home Edition SP2 to the Non-Affected Software table. [***** End Microsoft Security Bulletin (MS07-065) *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Microsoft for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) S-067: Tk Vulnerability S-068: htdig Security Update S-069: Cisco Security Agent for Windows System Driver Vulnerability S-070: Multiple Security Vulnerabilities in the JavaScript Engine S-071: Zabbix Vulnerability S-072: OpenOffice.org2 Security Update S-073: Vulnerability in SMBv2 S-074: Vulnerabilities in DirectX S-075: Vulnerability in Macrovision Driver S-076: Cumulative Security Update for Internet Explorer