Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

rConfig install Command Execution

Disclosed
Oct 28, 2019
Created
Nov 7, 2019

Description

This module exploits an unauthenticated command injection vulnerability
in rConfig versions 3.9.2 and prior. The `install` directory is not
automatically removed after installation, allowing unauthenticated users
to execute arbitrary commands via the `ajaxServerSettingsChk.php` file
as the web server user.

This module has been tested successfully on rConfig version 3.9.2 on
CentOS 7.7.1908 (x64).

Authors

mhaskar
bcoles [email protected]

Platform

Linux,Unix

Architectures

cmd, x86, x64

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.