Body Background
TrendAI™ Zero Day Initiative™ Logo

Microsoft .NET Framework System.DirectoryServices.Protocols Remote Code Execution Vulnerability

February 1st, 2013

Vulnerability Details


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft .NET Framework. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the System.DirectoryServices.Protocols.SortRequestControl.GetValue() method inside the .NET Framework. The function 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. If another thread changes the value of this.keys.Length between the array creation and loop this can result in a heap buffer overflow that can lead to remote code execution under the context of the current program.

Additional Details

Microsoft has issued an update to correct this vulnerability. More details can be found at:
http://technet.microsoft.com/en-us/security/bulletin/MS13-004

Disclosure Timeline

  • 2012-07-24 - Vulnerability reported to vendor
  • 2013-02-01 - Coordinated public release of advisory

Credit

Vitaliy Toropov

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.