Rapid7 Vulnerability & Exploit Database

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

Back to Search

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

Disclosed
11/28/2008
Created
05/30/2018

Description

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.

Author(s)

  • dean <dean@zerodaysolutions.com>

Platform

Windows

Development

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

;