{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-4338 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2016-4338 is a high-severity SQL injection vulnerability in Zabbix Zabbix, published on 23 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-4338 and fix it if it is affected.\n\nWhat it is: CVE-2016-4338 is a high-severity SQL injection vulnerability in Zabbix Zabbix, published on 23 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-4338 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-2016-4338/ (Markdown: https://insights.sbomify.com/CVE-2016-4338/index.md)","id":"CVE-2016-4338","markdown":"https://insights.sbomify.com/CVE-2016-4338/index.md","name":"CVE-2016-4338","record":{"aliases":["DEBIAN-CVE-2016-4338","GHSA-399r-wgcm-v67f","UBUNTU-CVE-2016-4338"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Zabbix monitoring agent","requires_auth":"none","summary":"Attackers can execute arbitrary code or SQL commands via the mysql.size parameter in Zabbix agent when using a non-bash shell.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zabbix","vendor":"zabbix"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2016-05-04","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2016-05-04","kind":"exploitdb","ref":"39769","stars":null,"title":"Zabbix Agent 3.0.1 - 'mysql.size' Shell Command Injection"}],"tier":"poc_unverified"},"has_fix":true,"headline":"SQL injection in n/a","id":"CVE-2016-4338","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zabbix:zabbix","products":["zabbix:zabbix"],"type":"sql_injection","year":"2016"},"n_packages":0,"n_references":10,"next":{"headline":"Auth bypass in n/a","id":"CVE-2016-4340"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2016-4337"},"products":["n/a"],"published":"2017-01-23","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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code or SQL commands via the mysql.size parameter in Zabbix agent when using a non-bash shell.","url":"https://insights.sbomify.com/CVE-2016-4338/"}