Description
An issue was discovered in rConfig 3.9.3. A remote authenticated user can directly execute system commands by sending a GET request to ajaxArchiveFiles.php because the path parameter is passed to the exec function without filtering, which can lead to command execution.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Rconfig 3.x Chained Remote Code Execution
exploit/linux/http/rconfig_ajaxarchivefiles_rce
Exploit-DB 2
- Rconfig 3.x - Chained Remote Code Execution (Metasploit) EDB-48223 · remote · Mar 17, 2020 · verified
- rConfig 3.9.3 - Authenticated Remote Code Execution EDB-47982 · webapps · Jan 30, 2020 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/v1k1ngfr/exploits/master/rconfig_exploit.py?token=
- https://github.com/v1k1ngfr
- https://github.com/v1k1ngfr/exploits-rconfig/blob/master/rconfig_CVE-2019-19509.py
- http://packetstormsecurity.com/files/156146/rConfig-3.9.3-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156766/Rconfig-3.x-Chained-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156950/rConfig-3.9.4-searchField-Remote-Code-Execution.html