CVE-2020-10221 rConfig OS Command Injection

Exploited in the wild High 8.8 Published Updated

Remote attackers can execute arbitrary OS commands via shell metacharacters in the fileName parameter of rConfig's ajaxAddTemplate.php.

Exploited in the wild
Since 3 Nov 2021
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-10221?

CVE-2020-10221 is a high-severity command injection vulnerability in n/a, published on 8 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-78

Which versions are affected by CVE-2020-10221?

It affects 1 product.

Products include Rconfig Rconfig.

How do I fix CVE-2020-10221?

No fix has been published for CVE-2020-10221 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-10221 being exploited?

Yes. Attackers have exploited CVE-2020-10221 in the wild since at least 3 Nov 2021.

Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as GHSA-hxjm-95v4-6qjj.

Is CVE-2020-10221 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free