rConfig <= 3.9.4 - Authenticated OS Command Injection
lib/ajaxHandlers/ajaxAddTemplate.php in rConfig through 3.9.4 does not properly sanitize the fileName POST parameter before using it in a shell command, allowing an authenticated attacker to inject arbitrary OS commands. This template uses default admin credentials to log in before triggering the injection; override the username / userpassword fields for environments with changed credentials. References: https://github.com/advisories/GHSA-hxjm-95v4-6qjj https://www.exploit-db.com/exploits/48207 https://nvd.nist.gov/vuln/detail/CVE-2020-10221 Remediation: Upgrade rConfig beyond 3.9.4 once a fixed release is available, or restrict access to /lib/ajaxHandlers/ and change default credentials.
Used 20 times · 10 assets checked · domain, subdomain, ipv4