Rapid7 Vulnerability & Exploit Database

HP LoadRunner lrFileIOService ActiveX Remote Code Execution

Back to Search

HP LoadRunner lrFileIOService ActiveX Remote Code Execution



This module exploits a vulnerability on the lrFileIOService ActiveX, as installed with HP LoadRunner 11.50. The vulnerability exists in the WriteFileBinary method where user provided data is used as a memory pointer. This module has been tested successfully on IE6-IE9 on Windows XP, Vista and 7, using the LrWebIERREWrapper.dll 11.50.2216.0. In order to bypass ASLR the no aslr compatible module msvcr71.dll is used. This one is installed with HP LoadRunner.


  • rgod <rgod@autistici.org>
  • 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/hp_loadrunner_writefilebinary
msf exploit(hp_loadrunner_writefilebinary) > show targets
msf exploit(hp_loadrunner_writefilebinary) > set TARGET < target-id >
msf exploit(hp_loadrunner_writefilebinary) > show options
    ...show and set options...
msf exploit(hp_loadrunner_writefilebinary) > 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