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).
Exploit database
Vulnerability
CVE-2019-16663
Vulnerability details
- Score
- 8.8
- Severity
- high
CVSS 3.1 · NVD
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
An issue was discovered in rConfig 3.9.2. An attacker can directly execute system commands by sending a GET request to search.crud.php because the catCommand parameter is passed to the exec function without filtering, which can lead to command execution.
CVE ProgramExploit source choices
2 sourcesrConfig install Command Execution
2019-10-28rconfig_install_cmd_exec.rb
mhaskar/cve-2019-16663
The official exploit for rConfig 3.9.2 Post-auth Remote Code Execution CVE-2019-16663
2019-11-102 files · 6 stars