{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-39289 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2022-39289 is a critical missing authorization vulnerability in Zoneminder Zoneminder, published on 7 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-39289 and fix it if it is affected.\n\nWhat it is: CVE-2022-39289 is a critical missing authorization vulnerability in Zoneminder Zoneminder, published on 7 Oct 2022. 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-2022-39289 exists.\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-2022-39289/ (Markdown: https://insights.sbomify.com/CVE-2022-39289/index.md)","id":"CVE-2022-39289","markdown":"https://insights.sbomify.com/CVE-2022-39289/index.md","name":"CVE-2022-39289","record":{"aliases":["DEBIAN-CVE-2022-39289","GHSA-mpcx-3gvh-9488","UBUNTU-CVE-2022-39289"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CCTV software","requires_auth":"none","summary":"Unprivileged users can read, insert, modify, and delete database logs via the ZoneMinder API due to missing authorization checks.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zoneminder","vendor":"zoneminder"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"ZoneMinder is a free, open source Closed-circuit television software application. In affected versions the ZoneMinder API Exposes Database Log contents to user without privileges, allows insertion, modification, deletion of logs without System Privileges. Users are advised yo upgrade as soon as possible. Users unable to upgrade should disable database logging.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Database log access in ZoneMinder","id":"CVE-2022-39289","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zoneminder:zoneminder","products":["zoneminder:zoneminder"],"type":"missing_authorization","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"CSRF key bypass using HTTP methods in zoneminder","id":"CVE-2022-39290"},"packages":[],"prev":{"headline":"Denial of service in Fastify via Content-Type header","id":"CVE-2022-39288"},"products":["zoneminder"],"published":"2022-10-07","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)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["ZoneMinder"]},"summary":"Unprivileged users can read, insert, modify, and delete database logs via the ZoneMinder API due to missing authorization checks.","url":"https://insights.sbomify.com/CVE-2022-39289/"}