CVE-2020-10221lib/ajaxHandlers/ajaxAddTemplate.php in rConfig through 3.94 allows remote attackers to execute arbitrary OS commands via shell…
- 8.8HighCVSS base score
- 77.3%Exploitation in 30 daysEPSS · top 0.4% of all CVEs
- YesKnown exploitedin CISA's KEV since 3 Nov 2021
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as rConfig OS Command Injection Vulnerability.
- Added
- 3 Nov 2021
- Fix due (US federal)
- 3 May 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 3 Nov 2021.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template and an Exploit-DB entry for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits2
Nuclei templates1 template
- rConfig <= 3.9.4 - Authenticated OS Command Injection (Nuclei template) (opens in a new tab)
http/cves/2020/CVE-2020-10221.yamlSeverity high
Exploit-DB1 entry
- rConfig 3.93 - 'ajaxAddTemplate.php' Authenticated Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 48207webapps, phppublished 12 Mar 2020Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 20 months later
· 20 months later
Added to CISA KEV
Known exploited in the wild
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 77.3% · top 0.4% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
n/a
- affected n/a
References
References5
- https://cwe.mitre.org/data/definitions/78.html (opens in a new tab)x_refsource_MISCx_transferred
- https://engindemirbilek.github.io/rconfig-3.93-rce (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/EnginDemirbilek/EnginDemirbilek.github.io/blob/master/rconfig-3.93-rce.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/156687/rConfig-3.93-Authenticated-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-10221 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-2679 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-10221)Record last updated .