CVE-2024-36466
NoneCVSS
—
EPSS
0.7%
Published
Nov 28, 2024
CISA due date
—
Cloudanix analysis
Attackers could create a fake login token to take over the monitoring system as an administrator.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Authentication Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits an attacker to craft and cryptographically sign a forged zbx_session cookie that the application accepts as valid, resulting in immediate authentication as an administrator without any credentials.
Why it matters to the business
Attackers can gain full administrative control over the Zabbix monitoring platform, enabling them to view sensitive infrastructure data, alter monitoring configurations, or disrupt operations, though the low exploitation likelihood and absence from known campaigns reduce immediate organizational risk.
How an attack unfolds
An attacker locates a Zabbix instance, analyzes the session cookie handling logic to discover the signing flaw, generates a valid-looking zbx_session cookie containing admin privileges, and submits it to the login endpoint to obtain an authenticated session.
How to fix it
Upgrade the Zabbix codebase to the commit e0ebc610bbe07feec683b36b33b0c7c54d4dfa51 or later; verify the patch is applied by confirming the corrected cookie signing logic is present.
How to confirm the fix worked
Review the git history for the presence of commit e0ebc610bbe07feec683b36b33b0c7c54d4dfa51, attempt to forge an admin session cookie on a test instance, and confirm that only legitimately signed sessions are accepted.
Typical attack path
- Discover publicly reachable Zabbix web interface
- Craft a forged zbx_session cookie using the signing bypass
- Submit the cookie to the application to establish an admin session
- Perform privileged actions such as data exfiltration or configuration changes
How to detect it
Inspect web server access logs and application logs for zbx_session cookie values that do not match expected signing patterns or that appear with admin-level claims from unexpected source IPs.
- zbx_session
- forged zbx_session cookie
What your security team should do
- Apply the fixed commit e0ebc610bbe07feec683b36b33b0c7c54d4dfa51 immediately on all Zabbix deployments
- Audit recent admin logins for anomalies even though exploitation likelihood remains low
- Monitor upstream Zabbix releases for any follow-on patches
The record
A bug in the code allows an attacker to sign a forged zbx_session cookie, which then allows them to sign in with admin permissions.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | zabbix | 0 | No fix |
| Debian:13 | zabbix | 0 | 1:7.0.1+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-42327 A non-admin user account on the Zabbix frontend with the default User role, or with any… Also affects zabbix
- CVE-2024-36467 An authenticated user with API access (e.g.: user with default User role), more… Also affects zabbix