Microsoft Security Bulletin MS13-004 - Important

Vulnerabilities in .NET Framework Could Allow Elevation of Privilege (2769324)

Published: | Updated:

Version: 2.1

General Information

Executive Summary

This security update resolves four privately reported vulnerabilitiesin the .NET Framework. The most severe of these vulnerabilities could allow elevation of privilege if a user views a specially crafted webpage using a web browser that can run XAML Browser Applications (XBAPs). The vulnerabilities could also be used by Windows .NET applications to bypass Code Access Security (CAS) restrictions. An attacker who successfully exploited these vulnerabilities could gain the same user rights as the logged-on 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.

This security update is rated Important for Microsoft .NET Framework 1.0 Service Pack 3, Microsoft .NET Framework 1.1 Service Pack 1, Microsoft .NET Framework 2.0 Service Pack 2, Microsoft .NET Framework 3.5, Microsoft .NET Framework 3.5.1, Microsoft .NET Framework 4, and Microsoft .NET Framework 4.5 on all supported editions of Microsoft Windows. This update has no severity rating for Microsoft .NET Framework 3.0 Service Pack 2.

The security update addresses the vulnerabilities by correcting how the .NET Framework initializes memory arrays, copies objects in memory, validates the size of an array prior to copying objects in memory, and validates the permissions of objects. 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. Most customers have automatic updating enabled and will not need to take any action because this security update will be downloaded and installed automatically. Customers who have not enabled automatic updating need to check for updates and install this update manually. For information about specific configuration options in automatic updating, see Microsoft Knowledge Base Article 294871.

For administrators and enterprise installations, or end users who want to install this security update manually, Microsoft recommends that customers apply the update at the earliest opportunity using update management software, or by checking for updates using the Microsoft Update service.

See also the section, Detection and Deployment Tools and Guidance, later in this bulletin.

Known Issues. Microsoft Knowledge Base Article 2769324 documents the currently known issues that customers may experience when installing this security update. The article also documents recommended solutions for these issues. When currently known issues and recommended solutions pertain only to specific releases of this software, this article provides links to further articles.

Affected and Non-Affected Software

The following software 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, see Microsoft Support Lifecycle.

Affected Software

Operating SystemComponentMaximum Security ImpactAggregate Severity RatingUpdates Replaced
Windows XP
Windows XP Service Pack 3Microsoft .NET Framework 1.0 Service Pack 3
(KB2742607)
(Media Center Edition 2005 Service Pack 3 and Tablet PC Edition 2005 Service Pack 3 only)

Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742596)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2698035 in MS12-074, KB2604042 in MS12-035, and KB2656378 in MS12-025, replaced by KB2742607

KB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686828 in MS12-038, KB2656369 in MS12-025, KB2633880 in MS12-016, and KB979909 in MS10-041, replaced by KB2742596

KB2686827 in MS12-038, KB2656368 in MS12-025, and KB2633870 in MS12-016 replaced by KB2742595
Windows XP Service Pack 3Microsoft .NET Framework 3.0 Service Pack 2
(KB2756918)
Defense in DepthNo severity rating[2]None
Windows XP Professional x64 Edition Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742596)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686828 in MS12-038, KB2656369 in MS12-025, KB2633880 in MS12-016, and KB979909 in MS10-041 replaced by KB2742596

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077, replaced by KB2742595
Windows XP Professional x64 Edition Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756918)
Defense in DepthNo severity rating[2]None
Windows Server 2003
Windows Server 2003 Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742604)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742596)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2698032 in MS12-074, KB2604078 in MS12-035, and KB2656376 in MS12-025, replaced by KB2742604

KB2686828 in MS12-038, KB2656369 in MS12-025, KB2633880 in MS12-016, and KB979909 in MS10-041 replaced by KB2742596

KB2686827 in MS12-038, KB2656368 in MS12-025, and KB2633870 in MS12-016 replaced by KB2742595
Windows Server 2003 Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756918)
Defense in DepthNo severity rating[2]None
Windows Server 2003 x64 Edition Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742596)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686828 in MS12-038, KB2656369 in MS12-025, KB2633880 in MS12-016, and KB979909 in MS10-041 replaced by KB2742596

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595
Windows Server 2003 x64 Edition Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756918)
Defense in DepthNo severity rating[2]None
Windows Server 2003 with SP2 for Itanium-based SystemsMicrosoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742596)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686828 in MS12-038 , KB2656369 in MS12-025, KB2633880 in MS12-016, and KB979909 in MS10-041 replaced by KB2742596

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595
Windows Vista
Windows Vista Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742601)

Microsoft .NET Framework 4[1]
(KB2742595)

Microsoft .NET Framework 4.5
(KB2742613)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686833 in MS12-038, KB2656374 in MS12-025, KB2633874 in MS12-016, and KB979910 in MS10-041 replaced by KB2742601

KB2686827 in MS12-038, KB2656368 in MS12-025, and KB2633870 in MS12-016 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows Vista Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756919)
Defense in DepthNo severity rating[2]None
Windows Vista x64 Edition Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742601)

Microsoft .NET Framework 4[1]
(KB2742595)

Microsoft .NET Framework 4.5
(KB2742613)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686833 in MS12-038, KB2656374 in MS12-025, KB2633874 in MS12-016, and KB979910 in MS10-041 replaced by KB2742601

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows Vista x64 Edition Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756919)
Defense in DepthNo severity rating[2]None
Windows Server 2008
Windows Server 2008 for 32-bit Systems Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742601)

Microsoft .NET Framework 4[1]
(KB2742595)

Microsoft .NET Framework 4.5
(KB2742613)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686833 in MS12-038, KB2656374 in MS12-025, KB2633874 in MS12-016, and KB979910 in MS10-041 replaced by KB2742601

KB2686827 in MS12-038, KB2656368 in MS12-025, and KB2633870 in MS12-016 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows Server 2008 for 32-bit Systems Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756919)
Defense in DepthNo severity rating[2]None
Windows Server 2008 for x64-based Systems Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742601)

Microsoft .NET Framework 4[1]
(KB2742595)

Microsoft .NET Framework 4.5
(KB2742613)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686833 in MS12-038, KB2656374 in MS12-025, KB2633874 in MS12-016, and KB979910 in MS10-041 replaced by KB2742601

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows Server 2008 for x64-based Systems Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756919)
Defense in DepthNo severity rating[2]None
Windows Server 2008 for Itanium-based Systems Service Pack 2Microsoft .NET Framework 1.1 Service Pack 1
(KB2742597)

Microsoft .NET Framework 2.0 Service Pack 2
(KB2742601)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2698023 in MS12-074 and KB2656370 in MS12-025 replaced by KB2742597

KB2686833 in MS12-038, KB2656374 in MS12-025, KB2633874 in MS12-016, and KB979910 in MS10-041 replaced by KB2742601

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595
Windows Server 2008 for Itanium-based Systems Service Pack 2Microsoft .NET Framework 3.0 Service Pack 2
(KB2756919)
Defense in DepthNo severity rating[2]None
Windows 7
Windows 7 for 32-bit SystemsMicrosoft .NET Framework 3.5.1
(KB2742598)

Microsoft .NET Framework 3.5.1
(KB2756920)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2686830 in MS12-038, KB2656372 in MS12-025, KB2633879 in MS12-016, KB979916 in MS10-041 replaced by KB2742598

No updates replaced by KB2756920

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016 replaced by KB2742595
Windows 7 for 32-bit Systems Service Pack 1Microsoft .NET Framework 3.5.1
(KB2742599)

Microsoft .NET Framework 3.5.1
(KB2756921)

Microsoft .NET Framework 4[1]
(KB2742595)

Microsoft .NET Framework 4.5
(KB2742613)
Elevation of PrivilegeImportantKB2686831 in MS12-038, KB2656373 in MS12-025, and KB2633873 in MS12-016 replaced by KB2742599

No updates replaced by KB2756921

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows 7 for x64-based SystemsMicrosoft .NET Framework 3.5.1
(KB2742598)

Microsoft .NET Framework 3.5.1
(KB2756920)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2686830 in MS12-038, KB2656372 in MS12-025, KB2633879 in MS12-016, KB979916 in MS10-041 replaced by KB2742598

No updates replaced by KB2756920

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595
Windows 7 for x64-based Systems Service Pack 1Microsoft .NET Framework 3.5.1
(KB2742599)

Microsoft .NET Framework 3.5.1
(KB2756921)

Microsoft .NET Framework 4[1]
(KB2742595)

Microsoft .NET Framework 4.5
(KB2742613)
Elevation of PrivilegeImportantKB2686831 in MS12-038, KB2656373 in MS12-025, and KB2633873 in MS12-016 replaced by KB2742599

No updates replaced by KB2756921

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows Server 2008 R2
Windows Server 2008 R2 for x64-based SystemsMicrosoft .NET Framework 3.5.1
(KB2742598)

Microsoft .NET Framework 3.5.1
(KB2756920)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantKB2686830 in MS12-038, KB2656372 in MS12-025, KB2633879 in MS12-016, KB979916 in MS10-041 replaced by KB2742598

No updates replaced by KB2756920

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016, and KB2160841 in MS10-077 replaced by KB2742595
Windows Server 2008 R2 for x64-based Systems Service Pack 1Microsoft .NET Framework 3.5.1
(KB2742599)

Microsoft .NET Framework 3.5.1
(KB2756921)

Microsoft .NET Framework 4[1]
(KB2742595)

Microsoft .NET Framework 4.5
(KB2742613)
Elevation of PrivilegeImportantKB2686831 in MS12-038, KB2656373 in MS12-025, KB2633873 in MS12-016 replaced by KB2742599

No updates replaced by KB2756921

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows Server 2008 R2 for Itanium-based SystemsMicrosoft .NET Framework 3.5.1
(KB2742598)

Microsoft .NET Framework 3.5.1
(KB2756920)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantNone
Windows Server 2008 R2 for Itanium-based Systems Service Pack 1Microsoft .NET Framework 3.5.1
(KB2742599)

Microsoft .NET Framework 3.5.1
(KB2756921)

Microsoft .NET Framework 4[1]
(KB2742595)
Elevation of PrivilegeImportantNone
Windows 8
Windows 8 for 32-bit SystemsMicrosoft .NET Framework 3.5
(KB2742616)

Microsoft .NET Framework 3.5
(KB2756923)

Microsoft .NET Framework 4.5
(KB2742614)
Elevation of PrivilegeImportantNone
Windows 8 for 64-bit SystemsMicrosoft .NET Framework 3.5
(KB2742616)

Microsoft .NET Framework 3.5
(KB2756923)

Microsoft .NET Framework 4.5
(KB2742614)
Elevation of PrivilegeImportantNone
Windows Server 2012
Windows Server 2012Microsoft .NET Framework 3.5
(KB2742616)

Microsoft .NET Framework 3.5
(KB2756923)

Microsoft .NET Framework 4.5
(KB2742614)
Elevation of PrivilegeImportantNone
Windows RT
Windows RTMicrosoft .NET Framework 4.5[3]
(KB2742614)
Elevation of PrivilegeImportantNone
Server Core installation option
Windows Server 2008 R2 for x64-based Systems (Server Core installation)Microsoft .NET Framework 3.5.1 (Server Core installation)
(KB2742598)

Microsoft .NET Framework 3.5.1 (Server Core installation)
(KB2756920)
Elevation of PrivilegeImportantKB2686830 in MS12-038, KB2656372 in MS12-025, KB2633879 in MS12-016, KB979916 in MS10-041 replaced by KB2742598

No updates replaced by KB2756920
Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)Microsoft .NET Framework 3.5.1 (Server Core installation)
(KB2742599)

Microsoft .NET Framework 3.5.1 (Server Core installation)
(KB2756921)

Microsoft .NET Framework 4[1] (Server Core installation)
(KB2742595)

Microsoft .NET Framework 4.5 (Server Core installation)
(KB2742613)
Elevation of PrivilegeImportantKB2686831 in MS12-038, KB2656373 in MS12-025, KB2633873 in MS12-016 replaced by KB2742599

No updates replaced by KB2756921

KB2686827 in MS12-038, KB2656368 in MS12-025, KB2633870 in MS12-016 replaced by KB2742595

KB2729460 in MS12-074 replaced by KB2742613
Windows Server 2012 (Server Core installation)Microsoft .NET Framework 3.5 (Server Core installation)
(KB2742616)

Microsoft .NET Framework 3.5 (Server Core installation)
(KB2756923)

Microsoft .NET Framework 4.5 (Server Core installation)
(KB2742614)
Elevation of PrivilegeImportantNone

[1].NET Framework 4 and .NET Framework 4 Client Profile affected. The .NET Framework version 4 redistributable packages are available in two profiles: .NET Framework 4 and .NET Framework 4 Client Profile. .NET Framework 4 Client Profile is a subset of .NET Framework 4. The vulnerability addressed in this update affects both .NET Framework 4 and .NET Framework 4 Client Profile. For more information, see the MSDN article, Installing the .NET Framework.

[2]Severity ratings do not apply to this update for the specified software because the known attack vectors for the vulnerability discussed in this bulletin are blocked in a default configuration. However, as a defense-in-depth measure, Microsoft recommends that customers of this software apply this security update.

[3]Windows RT security updates are provided via Windows Update.

Non-Affected Software

Software
Microsoft .NET Framework 3.5 Service Pack 1

Frequently Asked Questions (FAQ) Related to This Security Update

Vulnerability Information

Severity Ratings and Vulnerability Identifiers

System Drawing Information Disclosure Vulnerability - CVE-2013-0001

WinForms Buffer Overflow Vulnerability - CVE-2013-0002

S.DS.P Buffer Overflow Vulnerability - CVE-2013-0003

Double Construction Vulnerability - CVE-2013-0004

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:

  • Jon Erickson of iSIGHT Partners Labs for reporting the System Drawing Information Disclosure Vulnerability (CVE-2013-0001)
  • Vitaliy Toropov, working with Tipping Point'sZero Day Initiative, for reporting the WinForms Buffer Overflow Vulnerability (CVE-2013-0002)
  • Vitaliy Toropov, working with Tipping Point'sZero Day Initiative, for reporting the S.DS.P Buffer Overflow Vulnerability (CVE-2013-0003)
  • James Forshaw of Context Information Security for reporting the Double Construction Vulnerability (CVE-2013-0004)

Microsoft Active Protections Program (MAPP)

To improve security protections for customers, Microsoft provides vulnerability information to major security software providers in advance of each monthly security update release. Security software providers can then use this vulnerability information to provide updated protections to customers via their security software or devices, such as antivirus, network-based intrusion detection systems, or host-based intrusion prevention systems. To determine whether active protections are available from security software providers, please go to the active protections websites provided by program partners, listed in Microsoft Active Protections Program (MAPP) Partners.

Support

How to obtain help and support for this security update

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 (January 8, 2013): Bulletin published.
  • V1.1 (January 14, 2013): Added a link to Microsoft Knowledge Base Article 2769324 under Known Issues in the Executive Summary and corrected the registry verification keys for the KB2742595 update where incorrect in this bulletin. These are informational changes only.
  • V2.0 (January 22, 2013): Bulletin rereleased to reoffer security update KB2756920 for Windows 7 and Windows Server 2008 R2 to systems that are running in specific configurations known to have potential compatibility issues. Customers who are reoffered the update should reinstall this update. See the update FAQ for more information.
  • V2.1 (February 12, 2013): Bulletin revised to announce a detection change in the .NET Framework 1.1 Service Pack 1 update (KB2742597) to correct a Windows Update reoffering issue on certain systems that are running supported editions of Windows Vista or Windows Server 2008. This is a detection change only. Customers who have already successfully updated their systems do not need to take any action.