module

HP LoadRunner lrFileIOService ActiveX WriteFileString Remote Code Execution

Disclosed
Jul 24, 2013
Created
May 30, 2018

Description

This module exploits a vulnerability on the lrFileIOService ActiveX, as installed
with HP LoadRunner 11.50. The vulnerability exists in the WriteFileString method,
which allow the user to write arbitrary files. It's abused to drop a payload
embedded in a dll, which is later loaded through the Init() method from the
lrMdrvService control, by abusing an insecure LoadLibrary call. This module has
been tested successfully on IE8 on Windows XP. Virtualization based on the Low
Integrity Process, on Windows Vista and 7, will stop this module because the DLL
will be dropped to a virtualized folder, which isn't used by LoadLibrary.

Authors

Brian Gorenc
juan vazquez juan.vazquez@metasploit.com

Platform

Windows

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.