Skip to content
OpenAdvisories
Critical · 9.1 Public exploit CVE-2024-22120 EUVD-2024-19716GHSA-625f-58w6-wj9f

Time Based SQL Injection in Zabbix Server Audit Log

Published May 17, 2024 · Updated Aug 1, 2024 · Assigned by Zabbix

Description

Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to "Audit Log". Due to "clientip" field is not sanitized, it is possible to injection SQL into "clientip" and exploit time based blind SQL injection.

Affected products

VendorProductAffectedFixed
Zabbix Zabbix — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 zabbix 1:6.0.29+dfsg-1 —
Debian 13 zabbix 1:6.0.29+dfsg-1 —
Debian 12 zabbix No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 zabbix No fix yet —
Ubuntu 26.04 LTS zabbix No fix yet —
Ubuntu 25.10 zabbix No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS zabbix No fix yet —
Ubuntu Pro 20.04 LTS zabbix No fix yet —
Ubuntu Pro 18.04 LTS zabbix No fix yet —
Ubuntu Pro 16.04 LTS zabbix No fix yet —
Ubuntu Pro 14.04 LTS zabbix No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.19 zabbix 6.4.14-r0 —
Alpine v3.18 zabbix 6.4.15-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 4 repositories

  • W01fh4cker/CVE-2024-22120-RCE ★ 138 · May 20, 2024

    Time Based SQL Injection in Zabbix Server Audit Log --> RCE

  • g4nkd/CVE-2024-22120-RCE-with-gopher ★ 3 · Aug 14, 2024

    This exploit was created to exploit an XXE (XML External Entity). Through it, I read the backend code of the web service and found an endpoint where I could use gopher to make internal requests on Za…

  • This is my exploit for CVE-2024-22120, which involves an SSRF vulnerability inside an XXE with a Gopher payload.

  • Proof-of-concept exploit for CVE-2024-22120 that leverages time-based SQL injection and gopher-based SSRF to achieve remote code execution on vulnerable Zabbix servers for educational security resear…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References