The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-22120

CVE-2024-22120: Zabbix Server SQL Injection Vulnerability

CVE-2024-22120 is a SQL injection flaw in Zabbix Server affecting the audit log clientip field. Attackers can exploit time-based blind SQL injection to compromise the database. This article covers technical details, impact, and mitigation.

Published: January 28, 2026

CVE-2024-22120 Overview

CVE-2024-22120 is a SQL Injection vulnerability affecting Zabbix server that allows attackers to exploit time-based blind SQL injection through the audit logging functionality. When Zabbix server executes configured scripts, an audit entry is recorded in the "Audit Log." The vulnerability exists because the clientip field is not properly sanitized before being used in SQL queries, allowing malicious actors to inject arbitrary SQL commands and exfiltrate sensitive data from the underlying database.

Critical Impact

Attackers with low-privilege access can exploit this SQL injection vulnerability to read, modify, or delete sensitive data from the Zabbix database, potentially compromising the entire monitoring infrastructure and gaining access to credentials, host configurations, and network topology information.

Affected Products

  • Zabbix versions 5.0.0 through 5.0.x (prior to patched versions)
  • Zabbix versions 6.0.x through 6.4.x (prior to patched versions)
  • Zabbix 7.0.0 alpha1 through alpha9
  • Zabbix 7.0.0 beta1

Discovery Timeline

  • 2024-05-17 - CVE-2024-22120 published to NVD
  • 2025-10-08 - Last updated in NVD database

Technical Details for CVE-2024-22120

Vulnerability Analysis

This SQL Injection vulnerability targets the audit logging mechanism within Zabbix server. When scripts are executed through the Zabbix interface, the system logs audit events including metadata about the operation. The clientip field, which captures the IP address of the client initiating the script execution, lacks proper input sanitization and escaping before being incorporated into SQL statements.

The time-based blind SQL injection technique allows attackers to infer database contents by observing response timing differences. By crafting payloads that introduce conditional delays (using functions like SLEEP() in MySQL or pg_sleep() in PostgreSQL), an attacker can extract data one character at a time by measuring whether the server response is delayed.

This vulnerability is particularly dangerous in monitoring infrastructure because Zabbix databases typically contain sensitive information including host credentials, SNMP community strings, database passwords, and detailed network topology maps.

Root Cause

The root cause is improper input validation (CWE-20) in the Zabbix server's audit logging functionality. The clientip parameter is inserted into SQL queries without proper sanitization, parameterization, or escaping. This allows user-controlled input to break out of the intended SQL context and inject malicious SQL statements into the query.

The audit logging code path accepts the client IP address and directly concatenates it into the SQL INSERT statement for the audit log table, creating a classic SQL injection attack surface.

Attack Vector

The attack is network-based and requires low-privilege authentication to the Zabbix system. An attacker with access to execute configured scripts can manipulate the clientip field to inject SQL payloads. The exploitation flow involves:

  1. Authenticating to the Zabbix frontend with a low-privilege account that has script execution permissions
  2. Initiating a script execution request with a crafted clientip value containing SQL injection payloads
  3. Using time-based inference to extract data by observing response delays
  4. Iteratively extracting sensitive database contents including user credentials and host configurations

The vulnerability requires no user interaction and can be exploited remotely over the network. The time-based blind technique means no error messages or direct output is required—the attacker simply measures timing to infer successful injection.

Detection Methods for CVE-2024-22120

Indicators of Compromise

  • Unusual characters in audit log clientip fields, particularly SQL syntax elements like single quotes, semicolons, UNION, SELECT, or time delay functions
  • Abnormally slow responses during script execution operations
  • Multiple rapid script execution requests from the same user or session
  • Database query logs showing SLEEP(), BENCHMARK(), pg_sleep(), or similar time-delay functions
  • Failed or malformed audit log entries

Detection Strategies

  • Monitor database query logs for time-based SQL injection signatures including SLEEP(), WAITFOR DELAY, pg_sleep(), and BENCHMARK() functions
  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in HTTP requests to Zabbix endpoints
  • Configure alerting for script execution activities from unexpected user accounts or during unusual hours
  • Deploy network-based intrusion detection rules targeting SQL injection payloads in Zabbix traffic

Monitoring Recommendations

  • Enable detailed SQL query logging on the Zabbix database server and forward logs to SIEM for analysis
  • Monitor for response time anomalies on Zabbix API endpoints, particularly those related to script execution
  • Audit user permissions regularly to ensure script execution capabilities are restricted to necessary accounts only
  • Implement database activity monitoring to detect unusual query patterns or data access

How to Mitigate CVE-2024-22120

Immediate Actions Required

  • Review the official Zabbix security advisory at Zabbix Support Issue ZBX-24505 and apply the recommended patches immediately
  • Audit all Zabbix user accounts and remove script execution permissions from any accounts that do not require them
  • Implement network segmentation to restrict access to the Zabbix server from trusted networks only
  • Enable database query logging temporarily to detect any ongoing exploitation attempts
  • Review audit logs for suspicious clientip values that may indicate previous exploitation

Patch Information

Zabbix has released security patches to address this vulnerability. Administrators should upgrade to the latest patched version for their respective release branch. Detailed patch information and affected version ranges are available in the Zabbix Support Issue ZBX-24505.

Organizations running Zabbix 7.0.0 alpha or beta releases should upgrade to a stable, patched release as soon as available.

Workarounds

  • Restrict script execution permissions to only essential administrative accounts until patches can be applied
  • Implement network-level access controls (firewall rules) to limit which IP addresses can access the Zabbix frontend
  • Deploy a Web Application Firewall (WAF) with SQL injection detection rules in front of the Zabbix server
  • Disable or remove any unnecessary configured scripts to reduce the attack surface
  • Consider temporarily disabling the audit logging feature if operationally feasible until the patch is applied
bash
# Restrict Zabbix frontend access at the firewall level
# Example: Allow only management network to access Zabbix
iptables -A INPUT -p tcp --dport 80 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechZabbix

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability93.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Vendor Resources
  • Zabbix Support Issue ZBX-24505
  • Related CVEs
  • CVE-2026-23921: Zabbix API SQL Injection Vulnerability

  • CVE-2024-42327: Zabbix SQL Injection Vulnerability

  • CVE-2026-23919: Zabbix Information Disclosure Vulnerability

  • CVE-2026-23924: Zabbix Agent 2 Information Disclosure
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English