ZeroHour

CVE-2020-10221

KEV PoC ×3moderate

Authenticated OS Command Injection in rConfig through 3.94

CISA: rConfig OS Command Injection Vulnerability

CVSS 3.1
8.8 high
EPSS
80%p100
Published
()
KEV added
AI analysis

rConfig versions through 3.94 contain an OS command injection flaw (CWE-78) in lib/ajaxHandlers/ajaxAddTemplate.php. An authenticated attacker with a valid low-privilege account sends shell metacharacters in the 'fileName' POST parameter, which the script passes to the operating system without sanitization. Successful exploitation yields arbitrary command execution on the underlying server with the privileges of the web service, enabling full host compromise and, by extension, access to the network devices rConfig manages. Any organization running an affected rConfig installation, particularly one exposed to the internet, is affected. The flaw has public proof-of-concept exploits, an EPSS exploitation probability of 80.2%, and was added to CISA's Known Exploited Vulnerabilities catalog on 2021-11-03, indicating exploitation in the wild.

What to do: Upgrade rConfig to a release newer than 3.94 following the vendor's update instructions, per the CISA KEV required action. Until patched, restrict the rConfig web interface to trusted networks and enforce strong authentication, since exploitation requires valid credentials. Review logs for POST requests to lib/ajaxHandlers/ajaxAddTemplate.php containing shell metacharacters in the fileName parameter, and check the rConfig host for unexpected processes or outbound connections indicating compromise.

Affected
rConfigall versions through 3.94 (<= 3.94)
Estimated exposure
moderate≈ a few thousand internet-exposed rConfig instances (low thousands), with additional non-exposed internal deployments — rConfig is a niche, self-hosted open-source network configuration management tool with a small user community, and public internet-wide scans have historically surfaced only low thousands of rConfig web servers, so total exposure is…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

CISA Known Exploited Vulnerability
Affected
rConfig rConfig
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
rconfig
Products
rconfig
Weakness
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.