.. / CVE-2019-16662

Exploit for rConfig 3.9.2 - Remote Code Execution (CVE-2019-16662)

Description:

rConfig 3.9.2 is susceptible to a remote code execution vulnerability. An attacker can directly execute system commands by sending a GET request to ajaxServerSettingsChk.php because the rootUname parameter is passed to the exec function without filtering, which can lead to command execution.

Nuclei Template

View the template here CVE-2019-16662.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2019/CVE-2019-16662.yaml
Copy

References:

https://drive.google.com/open?id=1OXI5cNuwWqc6y-7BgNCfYHgFPK2cpvnu
https://nvd.nist.gov/vuln/detail/CVE-2019-16662
http://packetstormsecurity.com/files/154999/rConfig-3.9.2-Remote-Code-Execution.html
http://packetstormsecurity.com/files/155186/rConfig-3.9.2-Command-Injection.html
https://shells.systems/rconfig-v3-9-2-authenticated-and-unauthenticated-rce-cve-2019-16663-and-cve-2019-16662/