Name | CVE-2024-42327 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1088689 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
zabbix (PTS) | jessie, jessie (lts) | 1:2.2.23+dfsg-0+deb8u9 | fixed |
| stretch (security) | 1:3.0.32+dfsg-0+deb9u3 | fixed |
| stretch (lts), stretch | 1:3.0.32+dfsg-0+deb9u8 | fixed |
| buster (security), buster, buster (lts) | 1:4.0.4+dfsg-1+deb10u5 | fixed |
| bullseye | 1:5.0.8+dfsg-1 | fixed |
| bullseye (security) | 1:5.0.45+dfsg-1+deb11u1 | fixed |
| bookworm | 1:6.0.14+dfsg-1 | vulnerable |
| sid, trixie | 1:7.0.6+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
zabbix | source | jessie | (not affected) | | | |
zabbix | source | stretch | (not affected) | | | |
zabbix | source | buster | (not affected) | | | |
zabbix | source | bullseye | (not affected) | | | |
zabbix | source | (unstable) | 1:7.0.1+dfsg-1 | | | 1088689 |
Notes
[bullseye] - zabbix <not-affected> (Vulnerable code introduced later)
https://support.zabbix.com/browse/ZBX-25623
Fixed by: https://github.com/zabbix/zabbix/commit/9256f8d933a50a468ae36e7a40301aa761941612 (7.0.1rc1)
Fixed by (merge commit): https://github.com/zabbix/zabbix/commit/39ff97dbf6f229a1b9c4f38db061aa73dd680828 (6.0.32rc1)
Userroles introduced with commit https://github.com/zabbix/zabbix/commit/e5f4a103352a2e182c177236079bbe2a22907e45 (6.0.0alpha1)
[buster] - zabbix <not-affected> (vulnerable feature introduced later)
[stretch] - zabbix <not-affected> (vulnerable feature introduced later)
[jessie] - zabbix <not-affected> (vulnerable feature introduced later)