Rapid7 Vulnerability & Exploit Database

GroundWork monarch_scan.cgi OS Command Injection

Back to Search

GroundWork monarch_scan.cgi OS Command Injection

Disclosed
03/08/2013
Created
05/30/2018

Description

This module exploits a vulnerability found in GroundWork 6.7.0. This software is used for network, application and cloud monitoring. The vulnerability exists in the monarch_scan.cgi where user controlled input is used in the perl qx function. This allows any remote authenticated attacker, regardless of privileges, to inject system commands and gain arbitrary code execution. The module has been tested successfully on GroundWork 6.7.0-br287-gw1571 as distributed within the Ubuntu 10.04 based VM appliance.

Author(s)

  • Johannes Greil
  • juan vazquez <juan.vazquez@metasploit.com>

Platform

Linux,Unix

Architectures

cmd

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/linux/http/groundwork_monarch_cmd_exec
msf exploit(groundwork_monarch_cmd_exec) > show targets
    ...targets...
msf exploit(groundwork_monarch_cmd_exec) > set TARGET < target-id >
msf exploit(groundwork_monarch_cmd_exec) > show options
    ...show and set options...
msf exploit(groundwork_monarch_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

;