{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2022-28171 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-28171 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-28171 is a high-severity command injection vulnerability in hikvision DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D, published on 27 Jun 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-28171 and fix it if it is affected.\n\nWhat it is: CVE-2022-28171 is a high-severity command injection vulnerability in hikvision DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D, published on 27 Jun 2022. 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-2022-28171 in the wild and no public exploit code.\n\nAffected product: hikvision DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D. 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-28171/ (Markdown: https://insights.sbomify.com/CVE-2022-28171/index.md)","id":"CVE-2022-28171","markdown":"https://insights.sbomify.com/CVE-2022-28171/index.md","name":"CVE-2022-28171","record":{"aliases":["GHSA-pj6v-v769-6jfp"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Hikvision Hybrid SAN","requires_auth":"none","summary":"Attackers can execute restricted commands on Hikvision Hybrid SAN storage devices via malicious input in the web module.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hikvision","cpe":[{"product":"ds-a71024_firmware","vendor":"hikvision"},{"product":"ds-a71048_firmware","vendor":"hikvision"},{"product":"ds-a71048r-cvs_firmware","vendor":"hikvision"},{"product":"ds-a71072r_firmware","vendor":"hikvision"},{"product":"ds-a72024_firmware","vendor":"hikvision"},{"product":"ds-a72048r-cvs_firmware","vendor":"hikvision"},{"product":"ds-a72072r_firmware","vendor":"hikvision"},{"product":"ds-a80316s_firmware","vendor":"hikvision"},{"product":"ds-a80624s_firmware","vendor":"hikvision"},{"product":"ds-a81016s_firmware","vendor":"hikvision"},{"product":"ds-a82024d_firmware","vendor":"hikvision"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"The web module in some Hikvision Hybrid SAN/Cluster Storage products have the following security vulnerability. Due to the insufficient input validation, attacker can exploit the vulnerability to execute restricted commands by sending messages with malicious commands to the affected device.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2023-07-16","github_poc":2,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-07-16T07:30:22Z","kind":"github_poc","ref":"https://github.com/NyaMeeEain/CVE-2022-28171-POC","stars":4,"title":null},{"date":"2024-11-26T13:02:18Z","kind":"github_poc","ref":"https://github.com/aengussong/hikvision_probe","stars":3,"title":"Identify hikvision ip and probe for cve-s (CVE-2017-7921,  CVE-2022-28171, CVE-2021-36260)"},{"date":"2023-07-19","kind":"exploitdb","ref":"51607","stars":null,"title":"Hikvision Hybrid SAN Ds-a71024 Firmware - Multiple Remote Code Execution"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Command injection in DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D","id":"CVE-2022-28171","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Cross-site scripting in DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D","id":"CVE-2022-28172"},"packages":[],"prev":{"headline":"Information disclosure in Brocade Fabric OS","id":"CVE-2022-28170"},"products":["DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D","DS-A71024/48R-CVS,DS-A72024/48R-CVS"],"published":"2022-06-27","related":[{"cvss_score":9.1,"headline":"Auth bypass in DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D","id":"CVE-2023-28808","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":6.5,"headline":"Cross-site scripting in DS-A71024/48/72R,DS-A80624S,DS-A81016S,DS-A72024/72R,DS-A80316S,DS-A82024D","id":"CVE-2022-28172","kev_date_added":null,"published":"2022-06-27"}],"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"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["hikvision"]},"summary":"Attackers can execute restricted commands on Hikvision Hybrid SAN storage devices via malicious input in the web module.","url":"https://insights.sbomify.com/CVE-2022-28171/"}