Actively exploited in the wild
rConfig OS Command Injection Vulnerability
rConfig - rConfig · Listed in the CISA KEV since 2021-11-03. This indicates confirmed attacks in production environments.
Required action: Apply updates per vendor instructions.
CVE-2020-10221
HighCVSS 8.8KEVSummary
lib/ajaxHandlers/ajaxAddTemplate.php in rConfig through 3.94 allows remote attackers to execute arbitrary OS commands via shell metacharacters in the fileName POST parameter.
Risk Assessment
The risk for the organization is the possibility of remote arbitrary command execution on the server running rConfig, potentially leading to full system and data compromise.
Recommendation
It is recommended to update rConfig to a patched version immediately and validate input data in the fileName parameter.
Other vulnerabilities in rConfig
See all- CVE-2021-29006Medium
rConfig 3.9.6 is affected by a Local File Disclosure vulnerability. An authenticated user may successfully download any file on the server.
- CVE-2026-64826Medium
rConfig before 8.2.13 has a path traversal vulnerability in the download_export() method, allowing authenticated attackers to read arbitrary files by supplying ../ sequences in the filename parameter. Sensitive files like environment files with encryption keys, database credentials, and mail config can be accessed.
- CVE-2023-39110High
rconfig v3.9.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the path parameter at /ajaxGetFileByPath.php. This vulnerability allows authenticated attackers to make arbitrary requests via injection of crafted URLs.
- CVE-2023-39109High
rconfig v3.9.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the path_a parameter in the doDiff Function of /classes/compareClass.php. This vulnerability allows authenticated attackers to make arbitrary requests via injection of crafted URLs.
- CVE-2023-39108High
In version 3.9.4 of rconfig, a Server-Side Request Forgery (SSRF) vulnerability was discovered in the path_b parameter of the doDiff function in /classes/compareClass.php. This allows authenticated attackers to make arbitrary requests by injecting crafted URLs.
- CVE-2021-29005High
In rConfig 3.9.6, insecure permissions for the chmod command exist. After installation, the apache user can execute chmod as root without a password, allowing a low-privilege attacker to gain root access to the server.
- CVE-2021-29004High
SQL Injection vulnerability in rConfig 3.9.6 allows an authenticated attacker to inject malicious SQL code. If the MySQL server does not have --secure-file-priv set and is on the same host as rConfig, the attacker can upload a webshell and gain remote access.
Original NVD description (English source)
lib/ajaxHandlers/ajaxAddTemplate.php in rConfig through 3.94 allows remote attackers to execute arbitrary OS commands via shell metacharacters in the fileName POST parameter.

