Database disclosure via unsanitized audit-log client IP
Published May 17, 2024 · Updated Aug 1, 2024
Time-based blind SQL injection in affected Zabbix Server releases allows remote authenticated users to read database values via script execution. The affected branches are 6.0.0 through 6.0.27, 6.4.0 through 6.4.12, and 7.0.0alpha1 through 7.0.0beta1; zbx_auditlog_global_script interpolates the attacker-controlled clientip field directly into an auditlog INSERT. Reachability requires a logged-in user with access to at least one host and a configured script, and extracted session data enables Administrator impersonation.
Summary
What happened
Time-based blind SQL injection in affected Zabbix Server releases allows remote authenticated users to read database values via script execution. The affected branches are 6.0.0 through 6.0.27, 6.4.0 through 6.4.12, and 7.0.0alpha1 through 7.0.0beta1; zbx_auditlog_global_script interpolates the attacker-controlled clientip field directly into an auditlog INSERT. Reachability requires a logged-in user with access to at least one host and a configured script, and extracted session data enables Administrator impersonation.
The record
- CVE
- CVE-2024-22120
- Published
- May 17, 2024
- Updated
- Aug 1, 2024
- Vendor
- Zabbix
- Product
- Zabbix
- Classifications
- CWE-20, T1210
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 17, 2024CVE publishedPublication date reported by the CVE source.
- Aug 1, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.0.0 <=6.0.27 changes=[{"at":"6.0.28rc1","status":"unaffected"}]
- Affected versionversion=6.4.0 <=6.4.12 changes=[{"at":"6.4.13rc1","status":"unaffected"}]
- Affected versionversion=7.0.0alpha1 <=7.0.0beta1 changes=[{"at":"7.0.0beta1","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- ProjectDiscovery CVE-2024-22120 templatefunctional · demonstrated
- zabbix_server_time_based_blind_sqli.pyfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo