{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-4502 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2009-4502 is a critical command injection vulnerability in Zabbix Zabbix, published on 31 Dec 2009. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2009-4502 and fix it if it is affected.\n\nWhat it is: CVE-2009-4502 is a critical command injection vulnerability in Zabbix Zabbix, published on 31 Dec 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-4502 exists.\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-2009-4502/ (Markdown: https://insights.sbomify.com/CVE-2009-4502/index.md)","id":"CVE-2009-4502","markdown":"https://insights.sbomify.com/CVE-2009-4502/index.md","name":"CVE-2009-4502","record":{"aliases":["DEBIAN-CVE-2009-4502","GHSA-v6qg-5p9x-9hh9"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Zabbix Agent","requires_auth":"none","summary":"Remote attackers from trusted IPs can bypass security settings to execute arbitrary commands on Zabbix Agent via shell metacharacters.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zabbix","vendor":"zabbix"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"The NET_TCP_LISTEN function in net.c in Zabbix Agent before 1.6.7, when running on FreeBSD or Solaris, allows remote attackers to bypass the EnableRemoteCommands setting and execute arbitrary commands via shell metacharacters in the argument to net.tcp.listen.  NOTE: this attack is limited to attacks from trusted IP addresses.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2009-09-10","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2009-09-10","kind":"metasploit","ref":"exploit/unix/misc/zabbix_agent_exec","stars":null,"title":"Zabbix Agent net.tcp.listen Command Injection"},{"date":"2009-12-14","kind":"exploitdb","ref":"10431","stars":null,"title":"Zabbix Agent \u003c 1.6.7 - Remote Bypass"},{"date":"2010-07-03","kind":"exploitdb","ref":"16918","stars":null,"title":"Zabbix Agent - 'net.tcp.listen' Command Injection (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2009-4502","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zabbix:zabbix","products":["zabbix:zabbix"],"type":"command_injection","year":"2009"},"n_packages":0,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2009-4505"},"packages":[],"prev":{"headline":"Null dereference in n/a","id":"CVE-2009-4501"},"products":["n/a"],"published":"2009-12-31","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":"SQL injection in user.get API","id":"CVE-2024-42327","kev_date_added":null,"published":"2024-11-27"},{"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":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["n/a"]},"summary":"Remote attackers from trusted IPs can bypass security settings to execute arbitrary commands on Zabbix Agent via shell metacharacters.","url":"https://insights.sbomify.com/CVE-2009-4502/"}