__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Vulnerability in Microsoft MFC (924667) [Microsoft Security Bulletin MS07-012] February 14, 2007 13:00 GMT Number R-134 [REVISED 22 Feb 2007] [REVISED 28 Feb 2007] [REVISED 1 May 2007] [REVISED 29 Feb 2008] ______________________________________________________________________________ PROBLEM: A memory corruption vulnerability exists in the Microsoft MFC component. PLATFORM: Tested Software and Security Update Download Locations: Affected Software: • Microsoft Windows 2000 Service Pack 4 • Microsoft Windows XP Service Pack 2 • Microsoft Windows XP Professional x64 Edition • Microsoft Windows Server 2003 and Microsoft Windows Server 2003 Service Pack 1 • Microsoft Windows Server 2003 for Itanium-based Systems and Microsoft Windows Server 2003 with SP1 for Itanium-based Systems • Microsoft Windows Server 2003 x64 Edition • Microsoft Visual Studio .NET 2002 • Microsoft Visual Studio .NET 2002 Service Pack 1 • Microsoft Visual Studio .NET 2003 • Microsoft Visual Studio .NET 2003 Service Pack 1 Non-Affected Software: • Windows Vista • Microsoft Visual Studio 2005 Storage Management Appliance v2.1 for Appliance I, II, III DAMAGE: Could run arbitrary code. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. An intruder who can coerce a user to open a ASSESSMENT: RTF document containing a malicious OLE Object could run arbitrary code in the security context of the logged-in user. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-134.shtml ORIGINAL BULLETIN: http://www.microsoft.com/technet/security/Bulletin/MS07- 012.mspx ADDITIONAL LINK: Visit Hewlett-Packard's Subscription Service for: HPSBST02194 SSRT071306 rev. 1 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2007-0025 ______________________________________________________________________________ REVISION HISTORY: 02/22/2007 - revised to reflect the changes Microsoft has made in MS07-012 where they added clarification to the e-mail attack vector. 02/28/2007 - revised to add a link to Hewlett-Packard's HPSBST02194 SSRT071306 rev. 1 for Storage Management Appliance v2.1 for Appliance I, II, III. 05/01/2007 - revised R-134 to reflect changes Microsoft has made in Microsoft Security Bulletin MS07-012 where they added additional clarification addresses customers who are developing applications that statically link to the redistributed files replaced by the Visual Studio update. Microsoft SQL Server 2000 has also been added to the "Non-Affected Software" list. 02/29/2008 - revised R-134 to reflect changes Microsoft has made in Microsoft Security Bulletin MS07-012 where they corrected the registry key verification path and the uninstall forlder for Windows Server 2003. [***** Start Microsoft Security Bulletin MS07-012 *****] Microsoft Security Bulletin MS07-012 Vulnerability in Microsoft MFC Could Allow Remote Code Execution (924667) Published: February 13, 2007 | Updated: February 27, 2008 Version: 2.1 Summary Who Should Read this Document: Customers who use Microsoft Windows Impact of Vulnerability: Remote Code Execution Maximum Severity Rating: Important Recommendation: Customers should apply the update at the earliest opportunity Security Update Replacement: None Caveats: Microsoft Knowledge Base Article 924667 documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues. For more information, see Microsoft Knowledge Base Article 924667 Tested Software and Security Update Download Locations: Affected Software: • Microsoft Windows 2000 Service Pack 4 — Download the update • Microsoft Windows XP Service Pack 2 — Download the update • Microsoft Windows XP Professional x64 Edition — Download the update • Microsoft Windows Server 2003 and Microsoft Windows Server 2003 Service Pack 1 — Download the update • Microsoft Windows Server 2003 for Itanium-based Systems and Microsoft Windows Server 2003 with SP1 for Itanium-based Systems — Download the update • Microsoft Windows Server 2003 x64 Edition — Download the update • Microsoft Visual Studio .NET 2002 — Download the update (KB924641) • Microsoft Visual Studio .NET 2002 Service Pack 1 — Download the update (KB924642) • Microsoft Visual Studio .NET 2003 — Download the update (KB924643) • Microsoft Visual Studio .NET 2003 Service Pack 1 — Download the update (KB927696) Non-Affected Software: • Windows Vista • Microsoft Visual Studio 2005 • Microsoft SQL Server 2000 The software in this list has been tested to determine whether the versions are affected. Other versions either no longer include security update support or may not be affected. To determine the support life cycle for your product and version, visit the Microsoft Support Lifecycle Web site. Top of section General Information Executive Summary Executive Summary: This update resolves a newly discovered, privately reported vulnerability. The vulnerability is documented in the "Vulnerability Details" section of this bulletin. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. Significant user interaction is required to exploit this vulnerability. We recommend that customers apply the update at the earliest opportunity. Severity Ratings and Vulnerability Identifiers: Vulnerability Identifiers Impact of Vulnerability Microsoft Windows 2000 Service Pack 4 Microsoft Windows XP Service Pack 2 Microsoft Windows Server 2003 and Microsoft Windows Server 2003 Service Pack 1 Microsoft Visual Studio .NET 2002 Microsoft Visual Studio .NET 2002 Service Pack 1 Microsoft Visual Studio .NET 2003 Microsoft Visual Studio .NET 2003 Service Pack 1 MFC Memory Corruption Vulnerability - CVE-2007-0025 Remote Code Execution Important Important Important Important Important Important Important This assessment is based on the types of systems that are affected by the vulnerability, their typical deployment patterns, and the effect that exploiting the vulnerability would have on them. Note The security updates for Windows Server 2003, Windows Server 2003 Service Pack 1, and Windows Server 2003 x64 Edition also apply to Windows Server 2003 R2. Note The severity ratings for non-x86 operating system versions map to the x86 operating systems versions as follows: • The Windows XP Professional x64 Edition severity rating is the same as the Windows XP Service Pack 2 severity rating. • The Windows Server 2003 for Itanium-based Systems severity rating is the same as the Windows Server 2003 severity rating. • The Windows Server 2003 with SP1 for Itanium-based Systems severity rating is the same as the Windows Server 2003 Service Pack 1 severity rating. • The Windows Server 2003 x64 Edition severity rating is the same as the Windows Server 2003 Service Pack 1 severity rating. Top of section Vulnerability Details MFC Memory Corruption Vulnerability - CVE-2007-0025: A remote code execution vulnerability exists in the MFC component provided with Microsoft Windows and Visual Studio. An attacker could attempt to exploit this vulnerability when a user interacts with a malformed embedded OLE object within a Rich Text Format (RTF) file or a Rich Text e-mail message. If a user were logged on with administrative user rights, an attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less affected than users who operate with administrative rights. Mitigating Factors for MFC Memory Corruption Vulnerability - CVE-2007-0025: • An attacker who successfully exploited this vulnerability could gain the same user rights as the local user. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. • An attacker could only exploit this vulnerability when a user opens and then interacts with an embedded OLE object within a Rich Text Format (RTF) file or a Rich Text e-mail message. • This vulnerability could not be exploited automatically through a Web-based attack scenario. An attacker would have to host a Web site that contains an RTF file that is used to attempt to exploit this vulnerability. An attacker would have no way to force users to visit a malicious Web site. Instead, an attacker would have to persuade them to visit the Web site, typically by getting them to click a link that takes them to the attacker's site, and then convince the user to open the file. • The vulnerability cannot be exploited automatically through e-mail. For an attack to be successful a user must open an attachment that is sent in an e-mail message and then interact with an embedded OLE object within a Rich Text Format (RTF) file, or interact with an embedded OLE object within a Rich Text e-mail message. Top of section Workarounds for MFC Memory Corruption Vulnerability - CVE-2007-0025: Security Update Information Affected Software: For information about the specific security update for your affected software, click the appropriate link: Windows 2000 (all versions) Windows XP (all versions) Windows Server 2003 (all versions) Microsoft Visual Studio .NET 2002 Microsoft Visual Studio .NET 2002 Service Pack 1 Microsoft Visual Studio .NET 2003 Microsoft Visual Studio .NET 2003 Service Pack 1 Acknowledgments Microsoft thanks the following for working with us to help protect customers: • Kostya Kortchinsky of Immunity, Inc. and Fabrice Desclaux from EADS Common Research Center for reporting the MFC Memory Corruption Vulnerability (CVE-2007-0025). Obtaining Other Security Updates: Updates for other security issues are available at the following locations: • Security updates are available at the Microsoft Download Center. You can find them most easily by doing a keyword search for "security_patch." • Updates for consumer platforms are available at the Microsoft Update Web site. 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. Security Resources: • The Microsoft TechNet Security Web site provides additional information about security in Microsoft products. • TechNet Update Management Center • Microsoft Software Update Services • Microsoft Windows Server Update Services • Microsoft Baseline Security Analyzer (MBSA) • Windows Update • Microsoft Update • Windows Update Catalog: For more information about the Windows Update Catalog, see Microsoft Knowledge Base Article 323166. • Office Update Software Update Services: By using Microsoft Software Update Services (SUS), administrators can quickly and reliably deploy the latest critical updates and security updates to Windows 2000 and Windows Server 2003-based servers, and to desktop systems that are running Windows 2000 Professional or Windows XP Professional. For more information about how to deploy security updates by using Software Update Services, visit the Software Update Services Web site. Windows Server Update Services: By using Windows Server Update Services (WSUS), administrators can quickly and reliably deploy the latest critical updates and security updates for Windows 2000 operating systems and later, Office XP and later, Exchange Server 2003, and SQL Server 2000 onto Windows 2000 and later operating systems. For more information about how to deploy security updates using Windows Server Update Services, visit the Windows Server Update Services Web site. Systems Management Server: Microsoft Systems Management Server (SMS) delivers a highly configurable enterprise solution for managing updates. By using SMS, administrators can identify Windows-based systems that require security updates and can perform controlled deployment of these updates throughout the enterprise with minimal disruption to end users. For more information about how administrators can use SMS 2003 to deploy security updates, visit the SMS 2003 Security Patch Management Web site. SMS 2.0 users can also use Software Updates Service Feature Pack to help deploy security updates. For information about SMS, visit the SMS Web site. Note SMS uses the Microsoft Baseline Security Analyzer, the Microsoft Office Detection Tool, and the Enterprise Update Scan Tool to provide broad support for security bulletin update detection and deployment. Some software updates may not be detected by these tools. Administrators can use the inventory capabilities of the SMS in these cases to target updates to specific systems. For more information about this procedure, visit the following Web site. Some security updates require administrative rights following a restart of the system. Administrators can use the Elevated Rights Deployment Tool (available in the SMS 2003 Administration Feature Pack and in the SMS 2.0 Administration Feature Pack) to install these updates. 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. Revisions: • V1.0 (February 13, 2007): Bulletin published. • V1.1 (February 21, 2007) Bulletin updated: additional clarification has been added to the e-mail attack vector. An attacker could also attempt to exploit this vulnerability when a user interacts with a malformed embedded OLE object within a Rich Text e-mail message. This Bulletin has also been revised due to new issues discovered with the security update as reflected in Microsoft Knowledge Base Article 924667. • V1.2 (April 26, 2007) Bulletin updated: additional clarification addresses customers who are developing applications that statically link to the redistributed files replaced by the Visual Studio update. Microsoft SQL Server 2000 has also been added to the “Non-Affected Software” list. • V2.0 (June 12, 2007) Bulletin updated: This bulletin has been re-released adding Microsoft Windows Server 2003 Service Pack 2 as an affected product. Platform SDK has also been added to the “Non-Affected Software” list. • V2.1 (February 27, 2008) Bulletin updated: Corrected the registry key verification path and the uninstall folder for Windows Server 2003. [***** End Microsoft Security Bulletin MS07-012 *****] _______________________________________________________________________________ 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) R-123: HPP Mercury Loadrunner, Performance Center, Monitor over Firewall Agents Vulnerability R-124: HP OpenView Storage Data Protector Vulnerability R-125: Trend Micro Antivirus UPX Parsing Vulnerability R-126: Trend Micro TmComm Vulnerability R-128: Vulnerability in Microsoft Malware Protection Engine (932135) R-129: Vulnerability in Microsoft Data Access Components (927779) R-130: Vulnerability in HTML Help ActiveX Control (928843) R-131: Vulnerabilities in Microsoft Office (932554) R-132: Vulnerabilities in Microsoft Word (929434) R-133: Vulnerability in Microsft RichEdit (918118)