CVE-2024-36467
NoneCVSS
—
EPSS
0.7%
Published
Nov 27, 2024
CISA due date
—
Cloudanix analysis
A regular user in the monitoring system can secretly give themselves full admin rights just by using the normal update feature.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An authenticated user with API access to the user.update endpoint can modify their own group memberships to escalate privileges to groups such as Zabbix Administrators, bypassing intended authorization controls except for disabled or GUI-restricted groups.
Why it matters to the business
Attackers who obtain basic user credentials can gain full administrative control over the monitoring system, exposing sensitive infrastructure data, configuration changes, and potential for further compromise across monitored environments.
How an attack unfolds
An attacker authenticates with a low-privilege account that has API access, then issues a crafted user.update call to add their account to a high-privilege group such as Zabbix Administrators, after which they can perform any administrative actions via the web interface or API.
How to fix it
Upgrade zabbix/zabbix to commit d1b0c3308ce91271f6a8a28a3ad78df4295807f5 or later; restrict API access for non-administrative roles until patched; review and audit existing user group memberships.
How to confirm the fix worked
Confirm the deployed version includes commit d1b0c3308ce91271f6a8a28a3ad78df4295807f5; test that a non-admin user cannot successfully call user.update to join an administrative group; review API access logs for unauthorized group modifications.
Typical attack path
- Obtain valid low-privilege credentials with API access
- Call the user.update API endpoint with parameters to add the account to a target group
- Verify group membership change via API or UI
- Perform administrative actions using the newly acquired privileges
How to detect it
Search API and application logs for user.update calls that include groupid or usrgrpid parameters originating from non-admin accounts; correlate with successful group membership changes in the users table or audit records.
- user.update
- usrgrpid
- groupid
What your security team should do
- Apply the fix by updating to the referenced commit immediately given the authorization bypass nature
- Limit API permissions for default User roles to the minimum required
- Enable detailed logging of user.update API calls and monitor for group changes
- Perform an audit of current user-to-group assignments across the instance
The record
An authenticated user with API access (e.g.: user with default User role), more specifically a user with access to the user.update API endpoint is enough to be able to add themselves to any group (e.g.: Zabbix Administrators), except to groups that are disabled or having restricted GUI access.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | zabbix | 0 | 1:5.0.44+dfsg-1+deb11u1 |
| Debian:12 | zabbix | 0 | No fix |
| Debian:13 | zabbix | 0 | 1:7.0.2+dfsg-1 |
| Ubuntu:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:22.04:LTS | zabbix | 0 | No fix |
| Ubuntu:24.10 | zabbix | 0 | 1:7.0.2+dfsg-1 |
| Ubuntu:Pro:14.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | zabbix | 0 | No fix |
Related vulnerabilities
- CVE-2024-36465 A low privilege (regular) Zabbix user with API access can use SQL injection vulnerability… Also affects zabbix
- CVE-2024-36464 When exporting media types, the password is exported in the YAML in plain text. Also affects zabbix
- CVE-2024-42330 The HttpRequest object allows to get the HTTP headers from the server's response after… Also affects zabbix
- CVE-2024-42333 The researcher is showing that it is possible to leak a small amount of Zabbix Server… Also affects zabbix
- CVE-2024-42332 The researcher is showing that due to the way the SNMP trap log is parsed, an attacker… Also affects zabbix
- CVE-2024-42331 In the src/libs/zbxembed/browser.c file, the es_browser_ctor method retrieves a heap… Also affects zabbix
- CVE-2024-22117 When a URL is added to the map element, it is recorded in the database with sequential… Also affects zabbix
- CVE-2024-36463 The implementation of atob in "Zabbix JS" allows to create a string with arbitrary… Also affects zabbix