CVE-2024-36461
Critical · 9.1CVSS
9.1
EPSS
0.8%
Published
Aug 12, 2024
CISA due date
—
Cloudanix analysis
A flaw in monitoring software lets certain users tamper with internal memory handling, which could allow attackers to crash services or run unauthorized code.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability allows authenticated users to directly modify memory pointers within the embedded JavaScript engine, resulting in memory corruption that can lead to arbitrary code execution or denial of service.
Why it matters to the business
Attackers could exploit this to disrupt monitoring systems or gain unauthorized access, potentially affecting operational visibility and security monitoring across the organization.
How an attack unfolds
An attacker with low-privileged access to the Zabbix interface crafts malicious JavaScript that manipulates memory pointers, leading to corruption that can be leveraged for further exploitation.
How to fix it
Upgrade affected packages to the fixed versions, such as libpcap-devel to 14:1.9.1-4.el8 on AlmaLinux 8, and apply any Zabbix-specific patches addressing the JavaScript engine memory handling.
How to confirm the fix worked
Verify installed package versions match the fixed releases and confirm that JavaScript execution no longer permits direct pointer modification through targeted testing.
Typical attack path
- Gain access to a Zabbix user account with JavaScript execution privileges
- Inject specially crafted JavaScript code to modify memory pointers
- Trigger the code execution to corrupt memory
- Leverage the corruption for code execution or system compromise
How to detect it
Review Zabbix server and JavaScript execution logs for unexpected memory errors, pointer manipulation attempts, or anomalous script behavior.
What your security team should do
- Apply the listed fixed package versions immediately on all affected systems
- Restrict JavaScript execution privileges to the minimum required users
- Monitor Zabbix logs for memory corruption indicators until patches are deployed
The record
Within Zabbix, users have the ability to directly modify memory pointers in the JavaScript engine.
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.1+dfsg-1 |
| SUSE:Package Hub 15 SP6 | zabbix | 0 | 6.0.33-bp156.2.3.1 |
| Ubuntu:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:22.04:LTS | zabbix | 0 | No fix |
| Ubuntu:24.10 | zabbix | 0 | No fix |
| Ubuntu:25.04 | zabbix | 0 | No fix |
| Ubuntu:25.10 | zabbix | 0 | No fix |
| 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 |
| openSUSE:Leap 15.6 | zabbix | 0 | 6.0.33-bp156.2.3.1 |
| openSUSE:Tumbleweed | zabbix | 0 | 6.0.33-1.1 |
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-36467 An authenticated user with API access (e.g.: user with default User role), more… 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