OS Command Injection in Hikvision Intercom Broadcasting System ping.php
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 present in /php/ping.php, where the application processes the jsondata[ip] argument without proper neutralization of attacker-controlled input before passing it to an operating system command. Public reporting states that supplying input such as "netstat -ano" to jsondata[ip] can trigger command injection, indicating that the endpoint exposes unsafe shell execution behavior through the ping functionality. The vulnerable code path is not otherwise identified in the provided content. Successful exploitation can allow an attacker to execute arbitrary OS commands on the affected device or system.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a Python exploit script (CVE-2023-6895.py) targeting Hikvision Intercom Broadcasting System version 3.0.3_20201113_RELEASE, exploiting CVE-2023-6895. The exploit works by sending a POST request to the /php/ping.php endpoint on the target system, injecting an arbitrary command (provided by the user) via a crafted parameter. The script disables SSL verification and uses custom headers to mimic a browser. The README provides a simple usage example. The repository is straightforward, with one exploit script and a minimal README. The main capability is remote command execution on a vulnerable Hikvision device via a network-accessible HTTP endpoint.
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.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A specific vulnerability affecting IP camera/CCTV firmware that is highlighted as relevant to increased Iran-linked targeting of camera infrastructure.
A camera vulnerability scanned by Iranian-linked actors for reconnaissance and damage assessment purposes.
A specific vulnerability affecting Hikvision cameras that was reportedly exploited during scanning and compromise activity against exposed IoT devices.
An authentication/command-related vulnerability affecting Hikvision cameras that pro-Iranian actors were reportedly targeting.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.