Rapid7 Vulnerability & Exploit Database

Cisco AnyConnect VPN Client ActiveX URL Property Download and Execute

Back to Search

Cisco AnyConnect VPN Client ActiveX URL Property Download and Execute



This module exploits a vulnerability in the Cisco AnyConnect VPN client vpnweb.ocx ActiveX control. This control is typically used to install the VPN client. An attacker can set the 'url' property which is where the control tries to locate the files needed to install the client. The control tries to download two files from the site specified within the 'url' property. One of these files it will be stored in a temporary directory and executed.


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