Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
CriticalPublic exploit

OS Command Injection in Hikvision Intercom Broadcasting System ping.php

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

Share:
For your environment

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.

ANALYST BRIEF

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.

Successful exploitation enables arbitrary operating system command execution in the context of the vulnerable Hikvision Intercom Broadcasting System component. This can permit full compromise of the affected device, including unauthorized command execution, collection of system and network information, modification of configuration, deployment of additional tooling, persistence, pivoting within the local network, and potential disruption or misuse of the intercom/broadcasting infrastructure. The content also notes public exploit disclosure, increasing the likelihood of opportunistic exploitation.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict or eliminate network exposure to the affected system, especially any internet-accessible management or application interfaces exposing /php/ping.php. Limit access to trusted administrative networks only, place the device behind VPN or zero-trust access controls, segment intercom/camera/IoT infrastructure from enterprise networks, and monitor for suspicious requests to /php/ping.php containing shell metacharacters or unexpected values in jsondata[ip]. Because public exploitation has been disclosed, prioritize compensating controls and detection until the upgrade can be completed.

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. Organizations should identify all deployments of version 3.0.3_20201113_RELEASE(HIK) and any equivalent vulnerable builds, apply the vendor-fixed release, and validate that /php/ping.php is no longer reachable in a vulnerable state after upgrade.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
CVE-2023-6895MaturityPoCVerified exploit

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.

FuBoLuSecDisclosed Jan 17, 2024pythonnetwork
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

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence1

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity4

Community discussion across Reddit, Mastodon, and other social sources.