← Vulnerability feed

Vulnerability record · CVE-2024-22120 · published 17 May 2024

CVE-2024-22120: Zabbix Server Audit Log clientip SQL Injection Enables Command Execution

Zabbix · Zabbix

Zabbix server fails to sanitize the clientip field before writing it to the audit log, allowing SQL injection into that field. Because the server can execute configured scripts, an attacker who can trigger an audit entry can chain the SQL injection into command execution. The flaw is a time-based blind SQL injection, so exploitation is possible without seeing query output.

8.8 CVSS 3.1 High EPSS 77% · top 0.5% CWE-20 · Improper input validation
8.8CVSS 3.1 base score
77%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityHigh CVSS (8.8), very high EPSS and a vendor advisory tagged Exploit make this a likely target, though it requires low privileges and is not in KEV.

What it is

Zabbix server fails to sanitize the clientip field before writing it to the audit log, allowing SQL injection into that field. Because the server can execute configured scripts, an attacker who can trigger an audit entry can chain the SQL injection into command execution. The flaw is a time-based blind SQL injection, so exploitation is possible without seeing query output.

Impact

An attacker gains the ability to run commands through Zabbix's configured script execution and can read or alter database contents via blind SQL injection. CVSS 3.1 rates confidentiality, integrity and availability impact as high.

Attack surface

Reached over the network (AV:N) with low attack complexity and no user interaction. The vector requires low privileges (PR:L), so the attacker needs some authenticated access to the Zabbix server rather than being fully unauthenticated.

Exploitation

Not listed in CISA KEV, but EPSS is 0.76618 (99.5th percentile) and the vendor advisory is tagged Exploit, indicating public exploit material exists and exploitation is likely.

What to do

  • Apply the Zabbix fix referenced in vendor advisory ZBX-24505 for the affected server version.
  • Restrict network access to the Zabbix server and frontend to trusted management networks.
  • Review and minimize accounts with privileges that can trigger script execution or audit log writes.
  • Audit configured Zabbix scripts and disable any that are not required.
  • Monitor Zabbix audit logs and database query behavior for anomalous clientip values.

Detection

  • Inspect Zabbix audit log entries for clientip values containing SQL syntax, quotes, or time-delay functions.
  • Alert on unusually long or repeated database queries originating from the Zabbix server process.
  • Monitor for unexpected command execution spawned by the Zabbix server process.
  • Correlate Zabbix audit log writes with subsequent script execution events.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://support.zabbix.com/browse/ZBX-24505 ExploitVendor Advisory
https://support.zabbix.com/browse/ZBX-24505 ExploitVendor Advisory

Track CVE-2024-22120 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-23131Zabbix Frontend SAML SSO authentication bypass via session spoofingZabbix Frontend fails to verify the user login stored in the session when SAML SSO authentication is enabled, allowing session data to be modified. A…KEVEPSS 96%analysed5.3CVE-2022-23134Zabbix Frontend setup.php improper access control allows unauthenticated config changeAfter initial setup, some steps of Zabbix Frontend's setup.php remain reachable by unauthenticated users rather than only super-administrators. An at…KEVEPSS 95%analysed10.0CVE-2007-0640Zabbix vulnerabilityBuffer overflow in ZABBIX before 1.1.5 has unknown impact and attack vectors related to "SNMP IP addresses."EPSS 2.0%9.9CVE-2024-42327Zabbix frontend SQL injection in CUser addRelatedObjectsThe CUser.addRelatedObjects function in the Zabbix frontend contains an SQL injection reachable through the CUser.get API call. Any account with API …EPSS 79%analysed9.8CVE-2022-43516Microsoft windows firewall vulnerabilityA Firewall Rule which allows all incoming TCP connections to all programs from any source and to all ports is created in Windows Firewall after Zabbi…EPSS 0.95%9.8CVE-2020-11800Zabbix vulnerabilityZabbix Server 2.2.x and 3.0.x before 3.0.31, and 3.2 allows remote attackers to execute arbitrary code.EPSS 9.2%9.8CVE-2013-3738Zabbix improper input validation vulnerabilityA File Inclusion vulnerability exists in Zabbix 2.0.6 due to inadequate sanitization of request strings in CGI scripts, which could let a remote mali…EPSS 3.1%9.8CVE-2013-5743Zabbix SQL injection in multiple componentsZabbix versions 1.8.x before 1.8.18rc1, 2.0.x before 2.0.9rc1, and 2.1.x before 2.1.7 contain multiple SQL injection vulnerabilities. The record does…EPSS 80%analysed

Source: NIST National Vulnerability Database (record CVE-2024-22120), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.