{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-10204 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2016-10204 is a critical SQL injection vulnerability in Zoneminder Zoneminder, published on 3 Mar 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-10204 and fix it if it is affected.\n\nWhat it is: CVE-2016-10204 is a critical SQL injection vulnerability in Zoneminder Zoneminder, published on 3 Mar 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-10204 in the wild and no public exploit code.\n\nAffected product: Zoneminder Zoneminder. 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-10204/ (Markdown: https://insights.sbomify.com/CVE-2016-10204/index.md)","id":"CVE-2016-10204","markdown":"https://insights.sbomify.com/CVE-2016-10204/index.md","name":"CVE-2016-10204","record":{"aliases":["DEBIAN-CVE-2016-10204","GHSA-rrv5-j728-p424","UBUNTU-CVE-2016-10204"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Video surveillance software","requires_auth":"none","summary":"Remote attackers can execute arbitrary SQL commands via the limit parameter in log queries, potentially compromising database integrity and confidentiality.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zoneminder","vendor":"zoneminder"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/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":"SQL injection vulnerability in Zoneminder 1.30 and earlier allows remote attackers to execute arbitrary SQL commands via the limit parameter in a log query request to index.php.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-11-09","github_poc":2,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-09T16:24:10Z","kind":"github_poc","ref":"https://github.com/0xNullComet/CVE-2016-10204_Webshell","stars":2,"title":"A bash script demonstrating the manual exploitation of CVE-2016-10204 against a target endpoint, leading to upload of a php webshell."},{"date":"2026-09-20T19:46:25Z","kind":"github_poc","ref":"https://github.com/akash0x00/zoneminder-1.29-1.30-rce-exploit","stars":0,"title":"Unauthenticated SQL injection to RCE exploit for ZoneMinder 1.29/1.30 (CVE-2016-10204, EDB-41239). Single-command SQLi to webshell to reverse shell PoC in Python."}],"tier":"poc_unverified"},"has_fix":true,"headline":"SQL injection in n/a","id":"CVE-2016-10204","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zoneminder:zoneminder","products":["zoneminder:zoneminder"],"type":"sql_injection","year":"2016"},"n_packages":0,"n_references":2,"next":{"headline":"Other in n/a","id":"CVE-2016-10205"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-10203"},"products":["n/a"],"published":"2017-03-03","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2008-3882","kev_date_added":null,"published":"2008-09-02"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2025-65791","kev_date_added":null,"published":"2026-02-18"},{"cvss_score":9.8,"headline":"ZoneMinder Time-based SQL Injection","id":"CVE-2024-43360","kev_date_added":null,"published":"2024-08-12"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2022-29806","kev_date_added":null,"published":"2022-04-26"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-8423","kev_date_added":null,"published":"2019-02-18"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-8424","kev_date_added":null,"published":"2019-02-18"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-8427","kev_date_added":null,"published":"2019-02-18"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary SQL commands via the limit parameter in log queries, potentially compromising database integrity and confidentiality.","url":"https://insights.sbomify.com/CVE-2016-10204/"}