Vulnerability & Exploit Database

Back to search

MS13-022 Microsoft Silverlight ScriptObject Unsafe Memory Access

This module exploits a vulnerability in Microsoft Silverlight. The vulnerability exists on the Initialize() method from System.Windows.Browser.ScriptObject, which access memory in an unsafe manner. Since it is accessible for untrusted code (user controlled) it's possible to dereference arbitrary memory which easily leverages to arbitrary code execution. In order to bypass DEP/ASLR a second vulnerability is used, in the public WriteableBitmap class from System.Windows.dll. This module has been tested successfully on IE6 - IE10, Windows XP SP3 / Windows 7 SP1.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • James Forshaw
  • Vitaliy Toropov
  • juan vazquez <juan.vazquez [at]>



  • Windows x86/x64


  • windows


  • x86



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/browser/ms13_022_silverlight_script_object msf exploit(ms13_022_silverlight_script_object) > show targets ...targets... msf exploit(ms13_022_silverlight_script_object) > set TARGET <target-id> msf exploit(ms13_022_silverlight_script_object) > show options and set options... msf exploit(ms13_022_silverlight_script_object) > exploit

Related Vulnerabilities