Rapid7 Vulnerability & Exploit Database

Watchguard XCS Remote Command Execution

Back to Search

Watchguard XCS Remote Command Execution

Disclosed
06/29/2015
Created
05/30/2018

Description

This module exploits two separate vulnerabilities found in the Watchguard XCS virtual appliance to gain command execution. By exploiting an unauthenticated SQL injection, a remote attacker may insert a valid web user into the appliance database, and get access to the web interface. On the other hand, a vulnerability in the web interface allows the attacker to inject operating system commands as the 'nobody' user.

Author(s)

  • Daniel Jensen <daniel.jensen@security-assessment.com>

Platform

BSD

Architectures

x64

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/freebsd/http/watchguard_cmd_exec
msf exploit(watchguard_cmd_exec) > show targets
    ...targets...
msf exploit(watchguard_cmd_exec) > set TARGET < target-id >
msf exploit(watchguard_cmd_exec) > show options
    ...show and set options...
msf exploit(watchguard_cmd_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

;