SQL injection in Zabbix - CVE-2024-22120

 

SQL injection in Zabbix - CVE-2024-22120

Published: June 10, 2024 / Updated: August 16, 2024


Vulnerability identifier: #VU91581
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-22120
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data when handling "clientip" from the "Audit Log". A remote user can inject a specially crafted SQL command into the log and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

Zabbix

How to mitigate CVE-2024-22120

Install update from vendor's website.

Zabbix - addressed in versions 6.0.28 rc1, 6.4.13 rc1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins