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).
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_execmsf undefined(install_cmd_exec) > show actions ...actions...msf undefined(install_cmd_exec) > set ACTION < action-name >msf undefined(install_cmd_exec) > show options ...show and set options...msf undefined(install_cmd_exec) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub