Rapid7 Vulnerability & Exploit Database

Adobe Flash Player Regular Expression Heap Overflow

Back to Search

Adobe Flash Player Regular Expression Heap Overflow



This module exploits a vulnerability found in the ActiveX component of Adobe Flash Player before 11.5.502.149. By supplying a specially crafted swf file with special regex value, it is possible to trigger a memory corruption, which results in remote code execution under the context of the user, as exploited in the wild in February 2013. This module has been tested successfully with Adobe Flash Player 11.5 before 11.5.502.149 on Windows XP SP3 and Windows 7 SP1 before MS13-063, since it takes advantage of a predictable SharedUserData in order to leak ntdll and bypass ASLR.


  • Unknown
  • Boris "dukeBarman" Ryutin
  • juan vazquez <juan.vazquez@metasploit.com>




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/adobe_flash_regex_value
msf exploit(adobe_flash_regex_value) > show targets
msf exploit(adobe_flash_regex_value) > set TARGET < target-id >
msf exploit(adobe_flash_regex_value) > show options
    ...show and set options...
msf exploit(adobe_flash_regex_value) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security