Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2023-6895: OS Command Injection in Hikvision Intercom Broadcasting System /php/ping.php

Published Dec 17, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS89.0%100th percentile
CISA KEVNoNot listed
In the wildReported76 exploitation records in Mallory
Vendor
Hikvision
IdentifiersCVE-2023-6895CWE-78 · Improper Neutralization of Special…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Exposure surface

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.

VendorProductType
HikvisionIntercom Broadcast Systemoperating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence3Every report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.