{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6895 exists.","fix":"No fix has been published for CVE-2023-6895 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-6895 is a medium-severity command injection vulnerability in Hikvision Intercom Broadcasting System, published on 17 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6895 and fix it if it is affected.\n\nWhat it is: CVE-2023-6895 is a medium-severity command injection vulnerability in Hikvision Intercom Broadcasting System, published on 17 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6895 exists.\n\nAffected product: Hikvision Intercom Broadcasting System. 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-2023-6895/ (Markdown: https://insights.sbomify.com/CVE-2023-6895/index.md)","id":"CVE-2023-6895","markdown":"https://insights.sbomify.com/CVE-2023-6895/index.md","name":"CVE-2023-6895","record":{"aliases":["GHSA-rg52-4hvq-96p6"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Intercom Broadcasting System","requires_auth":"none","summary":"Attacker can execute arbitrary OS commands via the ping.php endpoint, requiring an upgrade to secure the system.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"intercom_broadcast_system","vendor":"hikvision"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A vulnerability was found in Hikvision Intercom Broadcasting System 3.0.3_20201113_RELEASE(HIK). It has been declared as critical. This vulnerability affects unknown code of the file /php/ping.php. The manipulation of the argument jsondata[ip] with the input netstat -ano leads to os command injection. The exploit has been disclosed to the public and may be used. Upgrading to version 4.1.0 is able to address this issue. It is recommended to upgrade the affected component. VDB-248254 is the identifier assigned to this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-01-17","github_poc":2,"max_poc_stars":5,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-01-17T12:53:47Z","kind":"github_poc","ref":"https://github.com/FuBoLuSec/CVE-2023-6895","stars":5,"title":null},{"date":"2024-02-07T09:28:10Z","kind":"github_poc","ref":"https://github.com/nles-crt/CVE-2023-6895","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-6895.yaml","stars":null,"title":"Hikvision IP ping.php - Command Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Hikvision Intercom Broadcasting System ping.php os command injection","id":"CVE-2023-6895","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"SourceCodester Simple Image Stack Website cross site scripting","id":"CVE-2023-6896"},"packages":[],"prev":{"headline":"Hikvision Intercom Broadcasting System Log File system.html information disclosure","id":"CVE-2023-6894"},"products":["Intercom Broadcasting System"],"published":"2023-12-17","related":[{"cvss_score":4.3,"headline":"Hikvision Intercom Broadcasting System exportrecord.php path traversal","id":"CVE-2023-6893","kev_date_added":null,"published":"2023-12-17"},{"cvss_score":4.3,"headline":"Hikvision Intercom Broadcasting System Log File system.html information disclosure","id":"CVE-2023-6894","kev_date_added":null,"published":"2023-12-17"}],"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":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-21","vendors":["Hikvision"]},"summary":"Attacker can execute arbitrary OS commands via the ping.php endpoint, requiring an upgrade to secure the system.","url":"https://insights.sbomify.com/CVE-2023-6895/"}