CVE-2023-6895: OS Command Injection in Hikvision Intercom Broadcasting System /php/ping.php
- Vendor
- Hikvision
CVE-2023-6895 is a critical OS command injection vulnerability in Hikvision Intercom Broadcasting System version 3.0.3_20201113_RELEASE(HIK). The flaw is in /php/ping.php, where the jsondata[ip] argument is insufficiently sanitized before being incorporated into a system command. An attacker can supply crafted input such as shell metacharacters or command strings (the public disclosure cites input like "netstat -ano") to cause arbitrary operating system commands to be executed by the underlying application. The vulnerable code path is described as affecting unknown code within /php/ping.php, but the issue is clearly characterized as server-side command injection in the ping functionality.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary OS command execution on the affected Hikvision Intercom Broadcasting System host in the security context of the web application or underlying service. This can enable full device compromise, unauthorized access to system and configuration data, surveillance infrastructure takeover, staging for persistence, pivoting within the camera or intercom network segment, and disruption or manipulation of the affected device’s operation. Given the product class and observed threat reporting, compromise may also provide attackers with intelligence collection and operational monitoring capability.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, remove affected systems from direct internet exposure, restrict access to the management interface and vulnerable endpoint using firewall rules or VPN-only administration, and segment intercom/camera infrastructure from enterprise networks. Limit access to trusted administrative sources only, monitor for requests to /php/ping.php containing shell metacharacters or unexpected values in jsondata[ip], and inspect devices for anomalous command execution or outbound traffic. Because public exploit details are available and the vulnerability has reportedly been targeted in the wild, prioritize compensating controls urgently.
Remediation
Patch, then assume compromise.
Upgrade Hikvision Intercom Broadcasting System to version 4.1.0 or later, as the provided content states that upgrading to version 4.1.0 addresses the issue. Validate that the vulnerable /php/ping.php functionality is no longer reachable in the deployed build, and confirm firmware/software provenance directly from Hikvision. After patching, review the device for signs of prior compromise, including unexpected processes, modified startup items, unauthorized accounts, altered configuration, and suspicious outbound connections.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-6895 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-6895?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2023-6895, the earliest disclosed Jan 17, 2024.
- Is there a patch for CVE-2023-6895?
- Upgrade Hikvision Intercom Broadcasting System to version 4.1.0 or later, as the provided content states that upgrading to version 4.1.0 addresses the issue. Validate that the vulnerable /php/ping.php functionality is no longer reachable in the deployed build, and confirm firmware/software provenance directly from Hikvision.
- What products are affected by CVE-2023-6895?
- Hikvision Intercom Broadcast System.
- How severe is CVE-2023-6895?
- CVE-2023-6895 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 89.0% (100th percentile) as of Oct 16, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.