The following cyber advisory was issued by the New York State Office of Cyber Security (OCS) and is
intended for State government entities. The information may or may not be applicable to the
general public and accordingly, the State does not warrant its use for any specific purposes.



Vulnerability in .NET Framework Could Allow Elevation of Privilege (MS13-015)


A vulnerability has been discovered in the Microsoft .NET Framework which could allow an attacker to take complete control of an affected system. Microsoft.NET is a software framework for applications designed to run under Microsoft Windows. This vulnerability can be exploited if a user visits or is redirected to a specially crafted web page or runs a specially crafted Microsoft.NET application.  Successful exploitation of this vulnerability could allow an attacker to obtain complete control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.


  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 3.5  (except Service Pack1)
  • Microsoft .NET Framework 3.5.1
  • Microsoft .NET Framework 4
  • Microsoft .NET Framework 4.5 (except on Windows RT)


  • Large and medium government entities: High
  • Small government entities: High


  • Large and medium business entities: High
  • Small business entities: High

Home users: High

An elevation of privilege vulnerability exists in the way that the .NET Framework elevates the permissions of a callback function when a particular Windows Forms object is created. Exploitation could occur if a user visits a website that hosts specially crafted XBAP (Extensible Application Markup Language Browser Application) content using a web browser capable of initiating XBAPs or runs a specially crafted .NET application. Additionally, an attacker can exploit this issue by creating a specially crafted Windows .NET application to bypass Code AccessSecurity (CAS) restrictions.

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.

We recommend the following actions be taken:

  • Apply appropriate patches provided by Microsoft to vulnerable systems immediately after appropriate testing.
  • Unless there is a business need, consider disabling XAML browser applications (XBAP) in Internet Explorer 6, 7, 8.  By default, Internet Explorer 9 and Internet Explorer 10 prevent XAML, which is used by XBAPs.
  • Run all software as a non-privileged user (one without administrative privileges) to diminish the effects of a successful attack.
  • Remind users not to visit un-trusted websites or follow links provided by unknown or un-trusted sources.
  • Remind users not to open e-mail attachments from unknown users or suspicious e-mails from trusted sources.