CVE-2020-10221 in Rconfig
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rconfig | Rconfig | ≤ 3.9.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2021-11-03 |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-10221 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-167611-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-03-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2020-10221 affects rConfig versions up to 3.94, allowing remote attackers to execute arbitrary OS commands via shell metacharacters in the fileName POST parameter. This vulnerability has a CVSS score of 8.8 and is listed in the KEV catalog, indicating a high risk of exploitation. Immediate action is required to mitigate the risk of unauthorized command execution, which could lead to system compromise and data loss.
The vulnerability exists in the lib/ajaxHandlers/ajaxAddTemplate.php file of rConfig. An attacker can exploit this by sending a specially crafted POST request with shell metacharacters in the fileName parameter. This can result in the execution of arbitrary commands on the underlying operating system, leading to potential system compromise, data exfiltration, and further attacks.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for the fileName parameter in the affected rConfig version. Additionally, ensure that the web application is running with the least privileges necessary to minimize the impact of a successful attack.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2020-10221?
CVE-2020-10221 affects rConfig versions up to 3.94, allowing remote attackers to execute arbitrary OS commands via shell metacharacters in the fileName POST parameter. This vulnerability has a CVSS score of 8.8 and is listed in the KEV catalog, indicating a high risk of exploitation. Immediate action is required to mitigate the risk of unauthorized command execution, which could lead to system compromise and data loss.
What is the CVSS score for CVE-2020-10221?
CVE-2020-10221 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 77.3%.
Is CVE-2020-10221 actively exploited?
Yes. CVE-2020-10221 is in the CISA known-exploited catalog (added 2021-11-03). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2020-10221?
Priority: IMMEDIATE.
What systems are affected by CVE-2020-10221?
CVE-2020-10221 affects Rconfig Rconfig.
What NERC-CIP standard applies to CVE-2020-10221?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an attacker to execute arbitrary commands on the system, which could compromise the integrity and availability of critical cyber assets.
What IEC 62443 requirement maps to CVE-2020-10221?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that allows remote code execution, which can compromise the security of the industrial control system and lead to unauthorized access and control.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Rconfig","product":"Rconfig","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.