Launch Printer Friendly Page Security TechCenter > Security Bulletins > Microsoft Security Bulletin MS07-040

Microsoft Security Bulletin MS07-040 - Critical

Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212)

Published: | Updated:

Version: 4.0

General Information

Executive Summary

This update resolves three privately reported vulnerabilities. Two of these vulnerabilities could allow remote code execution on client systems with .NET Framework installed, and one could allow information disclosure on Web servers running ASP.NET. In all remote code execution cases, 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.

This security update addresses two vulnerabilities by modifying the way .NET Framework addresses buffer allocation. 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 immediately.

Known Issues: Microsoft Knowledge Base Article 931212 documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues.

Affected and Non-Affected Software

In the following tables of affected and non-affected software, software versions that are not listed are past their support lifecycle. To determine the support lifecycle for your product and version, visit Microsoft Support Lifecycle.

Affected Software

Operating SystemComponentMaximum Security ImpactAggregate Severity RatingBulletins Replaced by This Update
Microsoft .NET Framework 1.0 Service Pack 3
Windows 2000 Service Pack 4Microsoft .NET Framework 1.0
(KB928367)
Remote Code ExecutionCriticalMS05-004
Windows XP Service Pack 2 and Windows XP Service Pack 3Microsoft .NET Framework 1.0
(KB928367)
Remote Code ExecutionCriticalMS05-004
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2Microsoft .NET Framework 1.0
(KB928367)
Remote Code ExecutionCriticalMS05-004
Windows XP Tablet PC Edition 2005 and Windows XP Media Center Edition 2005Microsoft .NET Framework 1.0
(KB930494)
Remote Code ExecutionCriticalMS05-004
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2Microsoft .NET Framework 1.0
(KB928367)
Remote Code ExecutionImportantMS05-004
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based SystemsMicrosoft .NET Framework 1.0
(KB928367)
Remote Code ExecutionImportantMS05-004
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2Microsoft .NET Framework 1.0
(KB928367)
Remote Code ExecutionImportantMS05-004
Windows Vista and Windows Vista Service Pack 1Microsoft .NET Framework 1.0
(KB928367)
Information DisclosureImportantMS05-004
Windows Vista Service Pack 2Microsoft .NET Framework 1.0
(KB928367)
Information DisclosureImportantNone
Windows Server 2008 and Windows Server 2008 Service Pack 2Microsoft .NET Framework 1.0
(KB928367)
Information DisclosureImportantNone
Microsoft .NET Framework 1.1 Service Pack 1
Windows 2000 Service Pack 4Microsoft .NET Framework 1.1
(KB928366)
Remote Code ExecutionCriticalMS05-004
Windows XP Service Pack 2 and Windows XP Service Pack 3Microsoft .NET Framework 1.1
(KB928366)
Remote Code ExecutionCriticalMS05-004
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2Microsoft .NET Framework 1.1
(KB928366)
Remote Code ExecutionCriticalMS05-004
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2Microsoft .NET Framework 1.1
(KB933854)
Remote Code ExecutionImportantMS05-004
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based SystemsMicrosoft .NET Framework 1.1
(KB928366)
Remote Code ExecutionImportantMS05-004
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2Microsoft .NET Framework 1.1
(KB928366)
Remote Code ExecutionImportantMS05-004
Windows Vista and Windows Vista Service Pack 1Microsoft .NET Framework 1.1
(KB929729)
Information DisclosureImportantMS05-004
Windows Vista Service Pack 2Microsoft .NET Framework 1.1
(KB929729)
Information DisclosureImportantNone
Windows Vista x64 Edition and Windows Vista x64 Edition Service Pack 1Microsoft .NET Framework 1.1
(KB929729)
Information DisclosureImportantMS05-004
Windows Vista x64 Edition Service Pack 2Microsoft .NET Framework 1.1
(KB929729)
Information DisclosureImportantNone
Windows Server 2008 and Windows Server 2008 Service Pack 2Microsoft .NET Framework 1.1
(KB929729)
Information DisclosureImportantNone
Windows Server 2008 for Itanium-based Systems and Windows Server 2008 for Itanium-based Systems Service Pack 2Microsoft .NET Framework 1.1
(KB929729)
Information DisclosureImportantNone
Windows Server 2008 x64 Edition and Windows Server 2008 x64 Edition Service Pack 2Microsoft .NET Framework 1.1
(KB929729)
Information DisclosureImportantNone
Microsoft .NET Framework 2.0
Windows 2000 Service Pack 4Microsoft .NET Framework 2.0
(KB928365)
Remote Code ExecutionCriticalMS06-033, MS06-056
Windows XP Service Pack 2 and Windows XP Service Pack 3Microsoft .NET Framework 2.0
(KB928365)
Remote Code ExecutionCriticalMS06-033, MS06-056
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2Microsoft .NET Framework 2.0
(KB928365)
Remote Code ExecutionCriticalMS06-033, MS06-056
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2Microsoft .NET Framework 2.0
(KB928365)
Remote Code ExecutionImportantMS06-033, MS06-056
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based SystemsMicrosoft .NET Framework 2.0
(KB928365)
Remote Code ExecutionImportantMS06-033, MS06-056
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2Microsoft .NET Framework 2.0
(KB928365)
Remote Code ExecutionImportantMS06-033, MS06-056
Windows VistaMicrosoft .NET Framework 2.0
(KB929916)
Information DisclosureImportantNone
Windows Vista x64 EditionMicrosoft .NET Framework 2.0
(KB929916)
Information DisclosureImportantNone

Non-Affected Software

Operating SystemComponent
Windows XP Service Pack 2 and Windows XP Service Pack 3Microsoft .NET Framework 3.0, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2Microsoft .NET Framework 3.0, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2Microsoft .NET Framework 3.0, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2Microsoft .NET Framework 3.0, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows VistaMicrosoft .NET Framework 3.0 and Microsoft .NET Framework 3.5
Windows Vista x64 EditionMicrosoft .NET Framework 3.0 and Microsoft .NET Framework 3.5
Windows Vista Service Pack 1 and Windows Vista Service Pack 2Microsoft .NET Framework 2.0 Service Pack 1, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows Vista x64 Edition Service Pack 1 and Windows Vista x64 Edition Service Pack 2Microsoft .NET Framework 2.0 Service Pack 1, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows Server 2008 and Windows Server 2008 Service Pack 2Microsoft .NET Framework 2.0 Service Pack 1, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows Server 2008 for Itanium-based Systems and Windows Server 2008 for Itanium-based Systems Service Pack 2Microsoft .NET Framework 2.0 Service Pack 1, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5
Windows Server 2008 x64 Edition and Windows Server 2008 x64 Edition Service Pack 2Microsoft .NET Framework 2.0 Service Pack 1, Microsoft .NET Framework 3.0 Service Pack 1, and Microsoft .NET Framework 3.5

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.

Frequently Asked Questions (FAQ) Related to This Security Update

Vulnerability Information

Severity Ratings and Vulnerability Identifiers

.NET PE Loader Vulnerability - CVE-2007-0041:

ASP.NET Null Byte Termination Vulnerability - CVE-2007-0042:

.NET JIT Compiler Vulnerability - CVE-2007-0043:

Update Information

Detection and Deployment Tools and Guidance

Security Update Deployment

Other Information

Acknowledgments

Microsoft thanks the following for working with us to help protect customers:

  • Dinis Cruz of OWASP for reporting the .NET PE Loader Vulnerability (CVE-2007-0041).
  • Paul Craig of Security Assessment for reporting the ASP.NET Null Byte Termination Vulnerability (CVE-2007-0042).
  • Jeroen Frijters of Sumatra for reporting the .NET JIT Compiler Vulnerability (CVE-2007-0043).
  • ProCheckUp working with UK CPNI for originally reporting the .NET Request Filtering Bypass Vulnerability (CVE-2006-7192).
  • Ferruh T. Mavituna of Portcullis Computer Security Ltd. for working with Microsoft and supplying additional information about the .NET Request Filtering Bypass Vulnerability (CVE-2006-7192).
  • Johannes Gumbel of TrueSec for working with Microsoft and supplying additional information about the .NET Request Filtering Bypass Vulnerability (CVE-2006-7192).

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.

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 (July 10, 2007): Bulletin published.
  • V1.1 (July 12, 2007): Bulletin updated: Corrected Windows Vista severity rating in the “Affected Software” table to Important. Corrected several instances in the file manifest tables incorrectly referencing a version of Mscordacwks.dll that is not installed on the system. Added an additional FAQ explaining why customers installing .NET Framework 3.0 should update .NET Framework 2.0 on their system. Added an additional FAQ for ASP.NET Web application developers.
  • V1.2 (July 19, 2007): Bulletin updated: Corrected KB933854 file manifest table for .NET Framework 1.1 on supported versions of Windows Server 2003. The Bulletin has also been updated providing an additional link to the main Bulletin Knowledge Base Article which will document all non-security functionality changes introduced in this .NET Framework security update.
  • V1.3 (July 25, 2007): Bulletin updated: Additional clarification has been added to the Bulletin explaining that .NET Framework updates are cumulative and may contain non-security updates. The Bulletin was also updated to clarify that this update applies to Service Pack 3 for .NET Framework 1.0 and Service pack 1 for .NET Framework 1.1.
  • V2.0 (March 25, 2008): Bulletin updated: Added .NET Framework 1.0 (KB928367) and .NET Framework 1.1 (KB929729) as affected components for Windows Vista Service Pack 1 and Windows Server 2008.
  • V3.0 (April 22, 2008): Bulletin updated: Added .NET Framework 1.0 (KB928367), .NET Framework 1.1 (KB928366), and .NET Framework Version 2.0 (KB928365) as affected components for Windows XP Service Pack 3. This is a detection update only. There were no changes to the binaries.
  • V3.1 (April 23, 2008): Bulletin updated: Removed erroneous references to Windows XP Professional x64 Edition Service Pack 3.
  • V3.2 (May 7, 2008): Bulletin updated: Removed erroneous references to .NET Framework 1.0 as a component of Windows Server 2008 x64 Edition and Windows Server 2008 for Itanium-based Systems.
  • V4.0 (May 7, 2009): Bulletin updated: Added as affected software: Microsoft .NET Framework 1.0 (KB928367) on 32-bit and x64-based editions of Windows Vista Service Pack 2 and on 32-bit editions of Windows Server 2008 Service Pack 2; Microsoft .NET Framework 1.1 (KB929729) on 32-bit and x64-based editions of Windows Vista Service Pack 2 and on 32-bit, x64-based, and Itanium-based editions of Windows Server 2008 Service Pack 2. This is a detection change only; there were no changes to the binaries. Customers who have already successfully installed KB928367 or KB929729 do not need to reinstall.