
Python-based exploit for CVE-2021-43798, enabling arbitrary file read on Grafana instances with 49 proof-of-concept payloads and batch scanning support.
pip3 install -r requirements.txt
$ python3 grafana.py -h
____ __ __ _____ ____ ___ ____ _ _ _ _____ _____ ___ ___
/ ___| \ \ / / | ____| |___ \ / _ \ |___ \ / | | || | |___ / |___ | / _ \ ( _ )
| | \ \ / / | _| _____ __) | | | | | __) | | | _____ | || |_ |_ \ / / | (_) | / _ \
| |___ \ V / | |___ |_____| / __/ | |_| | / __/ | | |_____| |__ _| ___) | / / \__, | | (_) |
\____| \_/ |_____| |_____| \___/ |_____| |_| |_| |____/ /_/ /_/ \___/
CVE-2021-43798 Grafana Arbitrary File Read
By:K3rwin
usage: grafana.py [-h] [-u U] [-r R]
Command line URL parameters: -u to specify a single address, -r to read a batch of addresses from a file
optional arguments:
-h, --help show this help message and exit
-u U Single URL address, can try 49 POCs
-r R URL file list, only use default POC

