CVE-2024-22120 Time Based SQL Injection in Zabbix Server Audit Log
Attackers can exploit unsanitized client IP fields in Zabbix audit logs to perform time-based blind SQL injection, potentially reading sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-22120?
CVE-2024-22120 is a critical SQL injection vulnerability in Zabbix Zabbix, published on 17 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2024-22120?
It affects 1 product.
Products include Zabbix Zabbix.
How do I fix CVE-2024-22120?
Apply the vendor's patch.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-22120 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-22120 exists.
Public exploit code: 4 proofs of concept on GitHub.
Other vulnerabilities in Zabbix Zabbix
Sources
Also known as DEBIAN-CVE-2024-22120, GHSA-625f-58w6-wj9f, UBUNTU-CVE-2024-22120.