LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2020-10221: rConfig OS Command Injection Vulnerability

RBRecent Breaches Vulnerability Intelligence·Nov 3, 2021
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
May 3, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2020-10221 to its Known Exploited Vulnerabilities catalog on Nov 3, 2021, with a federal patch deadline of May 3, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

rConfig lib/ajaxHandlers/ajaxAddTemplate.php contains an OS command injection vulnerability that allows remote attackers to execute OS commands via shell metacharacters in the fileName POST parameter.

CVE-2020-10221 is an OS command injection flaw in rConfig, a network configuration management product. The issue sits in lib/ajaxHandlers/ajaxAddTemplate.php and lets a remote attacker supply shell metacharacters in the fileName POST parameter to run operating-system commands on the host. Because rConfig often holds credentials and device configs, successful abuse can give an attacker a foothold inside the management plane and a path to broader network access. Confirm all version and patch details against the vendor advisory.

How it works

The weakness is CWE-78: improper neutralization of special elements used in an OS command. When the application takes the fileName value from a POST request and passes it to a shell without adequate sanitization or parameterization, an attacker can append metacharacters that cause the shell to interpret extra commands. The CISA summary states that remote attackers can execute OS commands this way. No authentication requirement is stated in the provided facts, so treat the endpoint as potentially reachable by unauthenticated parties until you verify the opposite in your deployment and the vendor advisory. The result is arbitrary command execution in the context of the rConfig process, which typically runs with privileges sufficient to read configuration data and reach managed devices.

Am I affected? How to find it in your systems

rConfig is commonly deployed as a web application on Linux hosts used by network operations teams for backup and change management of routers, switches, and firewalls. Inventory steps:

Telemetry that may indicate probing or exploitation includes unexpected child processes spawned by the web or PHP user, outbound connections from the rConfig host that do not match normal backup schedules, and sudden creation or modification of files under the application tree.

How to remediate

Patch first. CISA’s required action is to apply updates per vendor instructions. Obtain the fixed package or patch directly from the vendor, verify its integrity, and install it on every rConfig instance. After patching:

If you can't patch immediately

Reduce exposure until the vendor update can be installed:

If your data may have been exposed

Actively exploited command-injection flaws frequently lead to credential theft, configuration exfiltration, and follow-on movement. The facts do not document ransomware use for this CVE, but any confirmed compromise should still trigger incident response: isolate the host, preserve logs, and assume secrets handled by rConfig are burned. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether related accounts have appeared in prior leaks.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedrConfig · rConfig
WeaknessCWE-78
Added to CISA KEVNov 3, 2021
Federal patch deadlineMay 3, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities