Vulnerability record · CVE-2024-42327 · published 27 November 2024
CVE-2024-42327: Zabbix frontend SQL injection in CUser addRelatedObjects
Zabbix · Zabbix
The CUser.addRelatedObjects function in the Zabbix frontend contains an SQL injection reachable through the CUser.get API call. Any account with API access, including the default non-admin User role, can trigger it, so the flaw exposes the backend database to a low-privileged authenticated user.
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.9 with network reachability, low-privilege authentication, scope change and high EPSS make this a top remediation priority.
What it is
The CUser.addRelatedObjects function in the Zabbix frontend contains an SQL injection reachable through the CUser.get API call. Any account with API access, including the default non-admin User role, can trigger it, so the flaw exposes the backend database to a low-privileged authenticated user.
Impact
An attacker with a basic API-enabled account can inject SQL to read or alter database contents, and the CVSS scope change plus high confidentiality, integrity and availability ratings indicate potential compromise beyond the frontend component.
Attack surface
Reached over the network through the Zabbix frontend API, specifically the CUser.get call. Authentication is required but only at a low privilege level; no user interaction is needed per the CVSS vector.
Exploitation
Not listed in CISA KEV and no public exploit references are tagged, but EPSS is very high at 0.787 (99.6th percentile), indicating strong likelihood of exploitation activity.
What to do
- Apply the vendor fix referenced in Zabbix advisory ZBX-25623 as the first action.
- Restrict API access to only accounts that genuinely require it and review role assignments.
- Audit non-admin and default User role accounts, disabling or removing unused ones.
- Monitor and rate-limit API calls to CUser.get from low-privileged accounts.
- Place the Zabbix frontend behind access controls and network segmentation to limit exposure.
Detection
- Search frontend and web server logs for anomalous CUser.get requests, especially from non-admin accounts.
- Look for SQL syntax, UNION, or comment sequences in API request parameters.
- Alert on database errors or unusual query patterns originating from the Zabbix frontend.
- Baseline normal API usage per account and flag deviations in call volume or parameters.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://support.zabbix.com/browse/ZBX-25623 | Vendor Advisory |
Track CVE-2024-42327 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-42327), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.