module

rConfig install Command Execution

Disclosed
2019-10-28
Created
2019-11-07

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 bcoles@gmail.com

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.