Zabbix Server Vulnerable to SQL Injection via Command Execution
CVE-2024-22120
Key Information:
- Vendor
Zabbix
- Status
- Zabbix
- CVE ID
- CVE ID:
- CVE-2024-22120
- Vendor
- CVE Published:
- 17 May 2024
Timeline
Exploit known 3 days after it was published
- 🟡
Public PoC available
- 📈
Vulnerability started trending
- 👾
Exploit known to exist
- 📰
First article discovered by ÇözümPark
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Partly: Works over the network, but needs a login
- Yes: Public exploit code (1 proof-of-concept)
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Zabbix. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
Exploit code is public, so check logs on exposed Zabbix systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.
4Why it's rated "Patch this week"
- Exploit code is public, so attacks are easy to copy.
- EPSS gives it a 15.2% chance of exploitation in the next 30 days.
- Its CVSS severity is critical (9.1).
What is CVE-2024-22120?
CVE-2024-22120 is a vulnerability in Zabbix, a network monitoring tool. The flaw exists in the audit log functionality, where the "clientip" field is not sanitized. This allows an attacker to perform a time-based blind SQL injection by injecting malicious SQL into the "clientip" field during command execution. Successful exploitation can lead to unauthorized access to sensitive database information, including session identifiers.
The vulnerability affects Zabbix versions from 6.0.0 to 6.0.27, 6.4.0 to 6.4.12, and 7.0.0 alpha and beta versions. It has been exploited in the wild, and patches are available in versions 6.0.28rc1, 6.4.13rc1, and 7.0.0beta2.
Potential Impact of CVE-2024-22120
-
Database Information Disclosure: An attacker can extract sensitive information from the database, including session identifiers and potentially escalate privileges from a low-privileged user to an admin.
-
Remote Code Execution: In some cases, successful exploitation may lead to remote code execution, depending on the attacker's actions following the SQL injection.
Affected Version(s)
Zabbix 6.0.0 <= 6.0.27
Zabbix 6.4.0 <= 6.4.12
Zabbix 7.0.0alpha1 <= 7.0.0beta1
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
[#ZBX-24505] Time Based SQL Injection in Zabbix Server Audit Log (CVE-2024-22120)
Summary: 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...
Zabbix SQLi Vulnerability Leads to RCE, Latest Versions Affected – Gridinsoft Blog
Zabbix, a popular network monitoring tool, appears to be vulnerable to SQL injection attacks with little to no requirements.
Qualys ThreatPROTECT – Live Threat Intelligence Feed
The Zabbix server is vulnerable to an SQL injection vulnerability, tracked as CVE-2024-22120. The vulnerability has been given a critical severity rating with a CVSS score of 9.1. Successful exploitation of...
References
More Zabbix Vulnerabilities
SQL Injection in Zabbix
SQL Injection Vulnerability in Zabbix Affects Low Privilege Users
SQL Injection Vulnerability in Zabbix API for Non-Admin Users
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
EPSS Score
15% chance of being exploited in the next 30 days.
