{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-42327 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-42327 is a critical SQL injection vulnerability in Zabbix Zabbix, published on 27 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-42327 and fix it if it is affected.\n\nWhat it is: CVE-2024-42327 is a critical SQL injection vulnerability in Zabbix Zabbix, published on 27 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-42327 in the wild and no public exploit code.\n\nAffected product: Zabbix Zabbix. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-42327/ (Markdown: https://insights.sbomify.com/CVE-2024-42327/index.md)","id":"CVE-2024-42327","markdown":"https://insights.sbomify.com/CVE-2024-42327/index.md","name":"CVE-2024-42327","record":{"aliases":["DEBIAN-CVE-2024-42327","GHSA-gx59-7g62-6xhg","UBUNTU-CVE-2024-42327"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Zabbix monitoring system","requires_auth":"low_privilege","summary":"A non-admin user with API access can exploit SQL injection in the user.get API to read or modify database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Zabbix","cpe":[{"product":"zabbix","vendor":"zabbix"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2024-12-01","github_poc":11,"max_poc_stars":48,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-01-01T18:25:44Z","kind":"github_poc","ref":"https://github.com/BridgerAlderson/Zabbix-CVE-2024-42327-SQL-Injection-RCE","stars":48,"title":"Zabbix CVE-2024-42327 PoC"},{"date":"2024-12-01T00:15:27Z","kind":"github_poc","ref":"https://github.com/aramosf/cve-2024-42327","stars":38,"title":"cve-2024-42327 ZBX-25623"},{"date":"2024-12-03T12:44:07Z","kind":"github_poc","ref":"https://github.com/compr00t/CVE-2024-42327","stars":18,"title":"PoC for CVE-2024-42327 / ZBX-25623"},{"date":"2025-02-16T07:33:38Z","kind":"github_poc","ref":"https://github.com/godylockz/CVE-2024-42327","stars":9,"title":"Proof of concept for CVE-2024-42327: Zabbix privilege escalation to RCE"},{"date":"2024-12-06T16:06:00Z","kind":"github_poc","ref":"https://github.com/depers-rus/CVE-2024-42327","stars":3,"title":null},{"date":"2024-12-07T21:25:40Z","kind":"github_poc","ref":"https://github.com/watchdog1337/CVE-2024-42327_Zabbix_SQLI","stars":3,"title":"POC for CVE-2024-42327, an authenticated SQL Injection in Zabbix through the user.get API Method"},{"date":"2025-04-18T17:24:16Z","kind":"github_poc","ref":"https://github.com/874anthony/CVE-2024-42327_Zabbix_SQLi","stars":1,"title":"This is for educational porpuses only. Please do not use agains unathorized systems."},{"date":"2026-06-09T18:17:32Z","kind":"github_poc","ref":"https://github.com/RichJJ98/analise-vulnerabilidades-zabbix-notebooklm","stars":1,"title":"Caderno Temático NotebookLM: análise de vulnerabilidades SQL Injection (CVE-2024-42327, CVE-2026-23921) no Zabbix, com engenharia de prompts, cadeia de ataque até RCE e miniguia de hardening"}],"tier":"poc_unverified"},"has_fix":true,"headline":"SQL injection in user.get API","id":"CVE-2024-42327","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zabbix:zabbix","products":["zabbix:zabbix"],"type":"sql_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"JS - Crash on empty HTTP server response","id":"CVE-2024-42328"},"packages":[],"prev":{"headline":"Use after free vulnerability in browser.c","id":"CVE-2024-42326"},"products":["Zabbix"],"published":"2024-11-27","related":[{"cvss_score":9.1,"headline":"Zabbix Frontend Authentication Bypass","id":"CVE-2022-23131","kev_date_added":"2022-02-22","published":"2022-01-13"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-0640","kev_date_added":null,"published":"2007-01-31"},{"cvss_score":9.9,"headline":"Remote code execution within ping script","id":"CVE-2024-22116","kev_date_added":null,"published":"2024-08-09"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2013-3738","kev_date_added":null,"published":"2020-02-17"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2013-5743","kev_date_added":null,"published":"2019-12-11"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2016-10134","kev_date_added":null,"published":"2017-02-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-04","vendors":["Zabbix"]},"summary":"A non-admin user with API access can exploit SQL injection in the user.get API to read or modify database contents.","url":"https://insights.sbomify.com/CVE-2024-42327/"}