Vulnerability · Published Nov 27, 2024 · Assigned by Zabbix
CVE-2024-42327SQL injection in user.get API
Critical 9.9
In plain English
A critical-severity SQL injection in Zabbix from Zabbix. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 79.1% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
A non-admin user account on the Zabbix frontend with the default User role, or with any other role that gives API access can exploit this vulnerability. An SQLi exists in the CUser class in the addRelatedObjects function, this function is being called from the CUser.get function which is available for every user who has API access.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | zabbix | 6.4.18-r0 | ALPINE-CVE-2024-42327 |
| Alpine:v3.21 | zabbix | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Alpine:v3.22 | zabbix | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Alpine:v3.23 | zabbix | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Alpine:v3.24 | zabbix | 7.0.1-r0 | ALPINE-CVE-2024-42327 |
| Debian:12 | zabbix | no fix listed | DEBIAN-CVE-2024-42327 |
| Debian:13 | zabbix | 1:7.0.1+dfsg-1 | DEBIAN-CVE-2024-42327 |
| Debian:14 | zabbix | 1:7.0.1+dfsg-1 | DEBIAN-CVE-2024-42327 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H