What is rConfig?
rConfig is an open-source network device configuration management tool used by network administrators to back up, manage, and compare configuration files across routers, switches, and other network infrastructure — meaning a compromised rConfig instance can potentially expose or manipulate configuration data for an organization's entire network estate.
Overview
CVE-2020-10221 is an OS command injection vulnerability (CWE-78) in rConfig's lib/ajaxHandlers/ajaxAddTemplate.php. A remote attacker can inject and execute arbitrary operating system commands via shell metacharacters in the fileName POST parameter (CVSS 3.1: AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8 High). It was one of several command injection and SQL injection vulnerabilities disclosed in rConfig around the same period, following a wave of security research into the platform.
Technical Details
The ajaxAddTemplate.php handler passes the fileName parameter into a system-level command without adequately sanitizing shell metacharacters, allowing an attacker to append additional commands to be executed alongside the legitimate operation.
Discovery
Publicly disclosed alongside a cluster of related rConfig vulnerabilities from independent security researchers examining the platform's AJAX handlers.
Exploitation Context
CISA added this CVE to KEV in November 2021 based on confirmed exploitation. Public proof-of-concept exploits for rConfig's various 2020 vulnerabilities circulated quickly given the tool's straightforward, unauthenticated exploitation primitive, and its role managing network device configurations makes it a valuable target for attackers seeking broad visibility into and control over an organization's network infrastructure.
Remediation
- Update rConfig to a version that addresses this and the related command injection/SQLi vulnerabilities from the same disclosure period.
- Restrict network access to the rConfig web interface to trusted internal administrative networks; it should not be directly internet-facing.
- Audit rConfig server logs for anomalous requests to
ajaxAddTemplate.phpand similar AJAX handlers containing shell metacharacters. - Treat any compromised rConfig instance as a network-wide incident, not a single-host compromise, given the sensitive configuration data it manages for your network estate — rotate any credentials embedded in stored device configurations.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2020-10221 |
| Vendor / Product | rConfig — rConfig |
| NVD Published | 2020-03-08 |
| NVD Last Modified | 2025-11-07 |
| CVSS 3.1 Score | 8.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-78 find similar ↗ |
| CISA KEV Added | 2021-11-03 |
| CISA KEV Deadline | 2022-05-03 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2020-03-08 | CVE published alongside several other rConfig command injection and SQLi vulnerabilities disclosed in the same period |
| 2021-11-03 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-05-03 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2020-10221 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |