Rapid7 Vulnerability & Exploit Database

Chilkat Crypt ActiveX WriteFile Unsafe Method

Back to Search

Chilkat Crypt ActiveX WriteFile Unsafe Method

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

Description

This module allows attackers to execute code via the 'WriteFile' unsafe method of Chilkat Software Inc's Crypt ActiveX control. This exploit is based on shinnai's exploit that uses an hcp:// protocol URI to execute our payload immediately. However, this method requires that the victim user be browsing with Administrator. Additionally, this method will not work on newer versions of Windows. NOTE: This vulnerability is still unpatched. The latest version of Chilkat Crypt at the time of this writing includes ChilkatCrypt2.DLL version 4.4.4.0.

Author(s)

  • shinnai
  • jduck <jduck@metasploit.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/browser/chilkat_crypt_writefile
msf exploit(chilkat_crypt_writefile) > show targets
    ...targets...
msf exploit(chilkat_crypt_writefile) > set TARGET < target-id >
msf exploit(chilkat_crypt_writefile) > show options
    ...show and set options...
msf exploit(chilkat_crypt_writefile) > 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

;