Additional technical information to describe the Microsoft .NET Framework System.DirectoryServices.Protocols buffer overflow vulnerability is available.
Microsoft .NET Framework contains a vulnerability that could allow an unauthenticated, remote attacker to gain elevated privileges on a targeted system.
The vulnerability is due to improper validation of user supplied input processed by the affected software. An unauthenticated, remote attacker could exploit the vulnerability by convincing a user to visit a malicious website. If successful, the attacker could gain elevated privileges on a targeted system.
Microsoft confirmed the vulnerability in a security bulletin and released software updates.
Microsoft .NET Framework 2.0 SP2, 3.0 SP2, 3.5, 3.5.1, 4, and 4.5 are vulnerable when running on the following systems:
Windows XP SP3
Windows XP Professional x64 Edition SP2
Windows Server 2003 SP2
Windows Server 2003 x64 Edition SP2
Windows Server 2003 with SP2 for Itanium-based Systems
Windows Vista SP2
Windows Vista x64 Edition SP2
Windows Server 2008 for 32-bit Systems SP2
Windows Server 2008 for x64-based Systems SP2
Windows Server 2008 for Itanium-based Systems SP2
Windows 7 for 32-bit Systems SP1 and prior
Windows 7 for x64-based Systems SP1 and prior
Windows 8 for 32-bit Systems
Windows 8 for x64-based Systems
Windows Server 2008 R2 for x64-based Systems SP1 and prior
Windows Server 2008 R2 for Itanium-based Systems SP1 and prior
Windows Server 2012
To exploit the vulnerability, the attacker may provide a link that directs a user to a malicious site and use misleading language or instructions to persuade the user to follow the provided link.
Microsoft has corrected this vulnerability by correcting how the .NET Framework validates the size of an array prior to copying objects in memory.
Microsoft has released a security bulletin at the following link: MS13-004
An unauthenticated, remote attacker could exploit this vulnerability to gain elevated privileges on a targeted system, which could result in a complete system compromise.
The vulnerability is in the System.DirectoryServices.Protocols in the SortRequestControl.GetValue() method used by the affected software, which allocates an array based on the value of the parameter this.keys.Length and then uses a loop terminated by the same parameter to fill the array with data.
An unauthenticated, remote attacker could exploit the vulnerability by convincing a user to view a web page that contains crafted Extensible Application Markup Language (XAML) browser application (XBAP). Processing the web page could change the value of this.keys.Length between the array creation and loop. This condition could lead to a heap-based buffer overflow, allowing the attacker to execute arbitrary code on the system under the context of the affected software.
Administrators are advised to apply the appropriate updates.
Users are advised not to open e-mail messages from suspicious or unrecognized sources. If users cannot verify that links or attachments included in e-mail messages are safe, they are advised not to open them.
Administrators may consider using the Microsoft Baseline Security Analyzer (MBSA) scan tool to identify common security misconfigurations and missing security updates on system endpoints.
Administrators are advised to monitor affected systems.
Microsoft customers can obtain updates directly by using the links in the security bulletin. These updates are also distributed by Windows automatic update features and available on the Microsoft Update service. Microsoft Windows Server Update Services (WSUS), Systems Management Server, and System Center Configuration Manager can assist administrators in deploying software updates.
Version 1, January 8, 2013, 9:17 AM: Microsoft .NET Framework contains a buffer overflow vulnerability that could allow an unauthenticated, remote attacker to gain elevated privileges on a targeted system. Updates are available.
Datacenter Edition SP2 | Datacenter Edition, 64-bit SP2 | Itanium-Based Systems Edition SP2 | Enterprise Edition SP2 | Enterprise Edition, 64-bit SP2 | Essential Business Server Standard SP2 | Essential Business Server Premium SP2 | Essential Business Server Premium, 64-bit SP2 | Standard Edition SP2 | Standard Edition, 64-bit SP2 | Web Server SP2 | Web Server, 64-bit SP2
Windows Server 2008 R2
x64-Based Systems Edition Base, SP1 | Itanium-Based Systems Edition Base, SP1
Windows Server 2012
Original Release Base
Home Basic SP2 | Home Premium SP2 | Business SP2 | Enterprise SP2 | Ultimate SP2 | Home Basic x64 Edition SP2 | Home Premium x64 Edition SP2 | Business x64 Edition SP2 | Enterprise x64 Edition SP2 | Ultimate x64 Edition SP2
Home Edition SP3 | Professional Edition SP3 | Professional x64 (AMD/EM64T) SP2 | Tablet PC Edition SP3 | Media Center Edition SP3
for 32-bit systems Base | for x64-based systems Base
The urgency and severity ratings of this alert are not tailored to individual users; users may value alerts differently based upon their network configurations and circumstances. THE ALERT, AND INFORMATION CONTAINED THEREIN, ARE PROVIDED ON AN "AS IS" BASIS AND DO NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE ALERT, AND INFORMATION CONTAINED THEREIN, OR MATERIALS LINKED FROM THE ALERT, IS AT YOUR OWN RISK. INFORMATION IN THIS ALERT AND ANY RELATED COMMUNICATIONS IS BASED ON OUR KNOWLEDGE AT THE TIME OF PUBLICATION AND IS SUBJECT TO CHANGE WITHOUT NOTICE. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.