The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-6895

CVE-2023-6895: Hikvision Intercom RCE Vulnerability

CVE-2023-6895 is a critical RCE vulnerability in Hikvision Intercom Broadcasting System 3.0.3 caused by OS command injection in ping.php. This article covers the technical details, affected versions, exploit risks, and mitigation.

Published: February 11, 2026

CVE-2023-6895 Overview

A critical OS command injection vulnerability has been identified in the Hikvision Intercom Broadcasting System version 3.0.3_20201113_RELEASE(HIK). This vulnerability exists in the /php/ping.php file and allows remote attackers to execute arbitrary operating system commands through manipulation of the jsondata[ip] parameter. The exploit has been publicly disclosed and can be triggered by injecting system commands such as netstat -ano into the vulnerable parameter, enabling complete system compromise without authentication.

Critical Impact

Unauthenticated remote attackers can achieve complete system compromise by executing arbitrary OS commands on vulnerable Hikvision intercom devices, potentially leading to network reconnaissance, lateral movement, and full device takeover.

Affected Products

  • Hikvision Intercom Broadcast System (version 3.0.3_20201113_RELEASE and earlier)
  • Hikvision DS-KD Series Door Stations (DS-KD-BK, DS-KD-DIS, DS-KD-E, DS-KD-IN, DS-KD-INFO, DS-KD-KK, DS-KD-KP, DS-KD-M, DS-KD3003-E6, DS-KD8003IME1)
  • Hikvision DS-KH Series Indoor Stations (DS-KH6220-LE1, DS-KH6320 series, DS-KH6350-WTE1, DS-KH6351 series, DS-KH8520-WTE1, DS-KH9310-WTE1, DS-KH9510-WTE1)

Discovery Timeline

  • December 17, 2023 - CVE-2023-6895 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-6895

Vulnerability Analysis

This command injection vulnerability (CWE-78) affects the ping functionality within the Hikvision Intercom Broadcasting System's web interface. The vulnerable endpoint /php/ping.php accepts user-controlled input through the jsondata[ip] parameter without proper sanitization or validation. When the application processes this input, it directly incorporates the parameter value into a system command execution context, allowing attackers to append or inject arbitrary shell commands.

The vulnerability is particularly dangerous because it requires no authentication to exploit and can be triggered remotely over the network. An attacker can leverage this flaw to execute reconnaissance commands like netstat -ano to enumerate network connections, or more destructive commands to establish persistent access, exfiltrate data, or pivot to other systems on the network.

Root Cause

The root cause of this vulnerability is improper input validation and sanitization in the PHP code handling the ping functionality. The application fails to properly escape or filter user-supplied input before passing it to shell execution functions. Instead of validating that the jsondata[ip] parameter contains only a valid IP address or hostname, the application passes the raw input directly to the underlying operating system command, creating a classic command injection scenario.

Attack Vector

The attack vector is network-based and requires no user interaction or prior authentication. An attacker can craft a malicious HTTP request to the /php/ping.php endpoint, injecting OS commands through the jsondata[ip] parameter. By using shell metacharacters such as semicolons, pipes, or command substitution syntax, the attacker can chain arbitrary commands to the legitimate ping operation.

For example, by providing an input like 127.0.0.1; netstat -ano or utilizing other shell escape techniques, the attacker can execute arbitrary system commands with the privileges of the web server process. This typically grants significant access to the underlying system, potentially including the ability to read sensitive files, modify configurations, or establish reverse shells for persistent access.

Technical details and exploitation methodology can be found in the GitHub Remote Code Execution Guide and VulDB advisory #248254.

Detection Methods for CVE-2023-6895

Indicators of Compromise

  • Unusual HTTP POST requests to /php/ping.php containing shell metacharacters (;, |, &, $(), backticks) in the jsondata[ip] parameter
  • Unexpected outbound network connections from Hikvision intercom devices, particularly reverse shell connections
  • Evidence of reconnaissance commands being executed (e.g., netstat, whoami, id, uname) in system logs
  • Unauthorized processes spawned by the web server or PHP process on affected devices

Detection Strategies

  • Implement network-based intrusion detection rules to monitor HTTP traffic to /php/ping.php for command injection patterns
  • Deploy web application firewall (WAF) rules to block requests containing shell metacharacters in JSON parameters
  • Monitor network traffic from intercom devices for anomalous outbound connections or data exfiltration attempts
  • Analyze web server access logs for suspicious requests targeting the vulnerable ping endpoint

Monitoring Recommendations

  • Enable comprehensive logging on Hikvision devices and forward logs to a centralized SIEM for analysis
  • Configure network segmentation to isolate IoT and intercom devices from critical infrastructure
  • Implement behavioral monitoring to detect unusual process execution patterns on embedded devices
  • Set up alerts for any network communication from intercom devices to unexpected external IP addresses

How to Mitigate CVE-2023-6895

Immediate Actions Required

  • Upgrade all affected Hikvision Intercom Broadcasting System devices to version 4.1.0 or later immediately
  • If immediate patching is not possible, restrict network access to the device management interfaces using firewall rules
  • Implement network segmentation to isolate affected devices from critical network infrastructure
  • Monitor affected devices for signs of compromise while planning the upgrade

Patch Information

Hikvision has addressed this vulnerability in version 4.1.0 of the Intercom Broadcasting System firmware. Organizations should upgrade all affected devices to this version or later to remediate the command injection vulnerability. Contact Hikvision support or visit the official Hikvision security portal for firmware downloads and upgrade instructions for the various affected DS-KD and DS-KH series devices.

Workarounds

  • Block external network access to the /php/ping.php endpoint using firewall rules or access control lists
  • Place affected devices behind a reverse proxy with WAF capabilities to filter malicious requests
  • Disable or restrict access to the web management interface until patches can be applied
  • Implement strict network access controls to allow only authorized management stations to communicate with affected devices
bash
# Example iptables rules to restrict access to affected devices
# Replace 192.168.1.100 with the IP of your Hikvision device
# Replace 192.168.1.0/24 with your trusted management network

# Block all HTTP/HTTPS access to the device
iptables -A INPUT -d 192.168.1.100 -p tcp --dport 80 -j DROP
iptables -A INPUT -d 192.168.1.100 -p tcp --dport 443 -j DROP

# Allow only trusted management network
iptables -I INPUT -s 192.168.1.0/24 -d 192.168.1.100 -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -s 192.168.1.0/24 -d 192.168.1.100 -p tcp --dport 443 -j ACCEPT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHikvision Intercom Broadcast System

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability92.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Remote Code Execution Guide

  • VulDB CTI ID #248254

  • VulDB #248254
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English