Rapid7 Vulnerability & Exploit Database

Quest KACE Systems Management Command Injection

Back to Search

Quest KACE Systems Management Command Injection

Disclosed
05/31/2018
Created
07/25/2018

Description

This module exploits a command injection vulnerability in Quest KACE Systems Management Appliance version 8.0.318 (and possibly prior). The `download_agent_installer.php` file allows unauthenticated users to execute arbitrary commands as the web server user `www`. A valid Organization ID is required. The default value is `1`. A valid Windows agent version number must also be provided. If file sharing is enabled, the agent versions are available within the `\kace.local\client\agent_provisioning\windows_platform` Samba share. Additionally, various agent versions are listed on the KACE website. This module has been tested successfully on Quest KACE Systems Management Appliance K1000 version 8.0 (Build 8.0.318).

Author(s)

  • Leandro Barragan
  • Guido Leo
  • bcoles <bcoles@gmail.com>

Platform

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

;