
Exploit basato su Python per CVE-2021-43798, che consente la lettura arbitraria di file su istanze Grafana con 49 payload proof-of-concept e supporto per scansione batch.
pip3 install -r requirements.txt
$ python3 grafana.py -h
____ __ __ _____ ____ ___ ____ _ _ _ _____ _____ ___ ___
/ ___| \ \ / / | ____| |___ \ / _ \ |___ \ / | | || | |___ / |___ | / _ \ ( _ )
| | \ \ / / | _| _____ __) | | | | | __) | | | _____ | || |_ |_ \ / / | (_) | / _ \
| |___ \ V / | |___ |_____| / __/ | |_| | / __/ | | |_____| |__ _| ___) | / / \__, | | (_) |
\____| \_/ |_____| |_____| \___/ |_____| |_| |_| |____/ /_/ /_/ \___/
CVE-2021-43798 Grafana任意文件读取
By:K3rwin
usage: grafana.py [-h] [-u U] [-r R]
Passa i parametri url dalla riga di comando, -u specifica un singolo indirizzo, -r legge indirizzi in batch da un file
optional arguments:
-h, --help show this help message and exit
-u U Singolo URL, prova 49 POC
-r R Elenco di URL da file, usa solo il POC predefinito

