Skip to main content

Hikvision CVE-2025-39240

| EUVDEUVD-2025-18247 HIGH
OS Command Injection (CWE-78)
2025-06-13 hsrc@hikvision.com
7.2
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Risk Assessment Summary: CVSS 7.2 indicates significant impact (all CIA attributes High), but key mitigating factor is PR:H (High Privilege Required). This is NOT a zero-day unauthenticated attack—attackers need valid credentials, substantially reducing real-world exploitation likelihood compared to unauthenticated vulnerabilities. CVSS vector AV:N/AC:L shows network accessibility and low attack complexity once authenticated. Without disclosed EPSS score or KEV/CISA data, exploitation probability cannot be quantitatively assessed, but authenticated RCE on networking equipment (WAPs) is operationally valuable to attackers with internal access or compromised credentials. If public POC exists, risk escalates significantly. The vulnerability is automatable post-authentication (AC:L) and produces total system compromise (technical impact: CRITICAL). Realistic priority: MEDIUM-to-HIGH for organizations with: (1) Hikvision WAP deployments in sensitive network zones, (2) weak credential management, (3) insider threat risk, or (4) multi-factor authentication not enforced on device APIs. Lower priority for organizations with strong network segmentation and credential controls.

Exploit ScenarioDerived

Attack Scenario: An attacker with valid WAP credentials (obtained via phishing, credential reuse, or initial compromise of an admin account) connects to the Hikvision WAP's REST API or management interface over HTTPS (AV:N). The attacker sends a specially crafted JSON or binary packet targeting a command execution endpoint (e.g., /api/system/reboot or similar), embedding shell metacharacters or command injection payloads in a parameter field that is insufficiently validated (e.g., 'hostname=id > /tmp/pwned' or 'config=; cat /etc/passwd'). Due to CWE-78 flaw, the application passes this unsanitized input to a system call, executing the attacker's embedded command with the WAP's service account privileges (typically root/admin). Result: Attacker achieves RCE, can exfiltrate device configuration, modify firewall rules, pivot to connected clients, or establish persistence. If POC exists in public repositories (GitHub, exploit-db), risk increases substantially; automated scanning tools would trivially identify vulnerable versions. Timeline: Attack executes in seconds post-authentication; no user interaction required (UI:N).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

CVE-2025-39240 is an authenticated remote command execution vulnerability in Hikvision Wireless Access Points caused by insufficient input validation in packet handling. Attackers with valid credentials can send crafted packets to execute arbitrary commands on affected devices, potentially achieving full system compromise. The vulnerability has a CVSS 7.2 score reflecting high confidentiality, integrity, and availability impact, though it requires valid authentication credentials to exploit.

RemediationAI

Immediate Actions: (1) Apply firmware patches released by Hikvision (version numbers to be provided in official advisory; monitor Hikvision support portal and CISA alerts). (2) Restrict network access to WAP management interfaces using firewall rules—limit to trusted administrative subnets only. (3) Enforce strong authentication: disable default credentials, enforce complex passwords, and implement multi-factor authentication on device APIs if available. (4) Monitor device logs for suspicious authenticated API calls or command patterns. (5) Segment wireless infrastructure from critical systems. Workarounds (pre-patch): (a) Disable remote management features if not required (CLI/API). (b) Use VPN or bastion hosts for all device administration. (c) Implement rate limiting and IDS signatures for malformed packet detection. (d) Audit user accounts and revoke unnecessary privileges. Long-term: Subscribe to Hikvision security bulletins, establish patch management procedures for network infrastructure, and conduct periodic privilege access reviews.

Affected VersionsENISA

DS-3WAP621E-SI V1.1.5400 build240814(E2254)and the versions prior to it
DS-3WAP622G-SI V1.1.5402 build241014(E2254P02)and the versions prior to it
DS-3WAP522-SI V1.1.5402 build241014(E2254P02)and the versions prior to it
DS-3WAP521-SI V1.1.5400 build240814(E2254)and the versions prior to it
DS-3WAP622E-SI V1.1.5402 build241014(E2254P02)and the versions prior to it
DS-3WAP623E-SI V1.1.5400 build240814(E2254)and the versions prior to it

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability resides in Hikvision Wireless Access Point firmware and affects the command processing pipeline. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), indicating that user-supplied input from authenticated API/packet handlers is passed unsanitized to OS command execution functions (likely via system() or equivalent calls). The vulnerability exists in network-facing services that accept authenticated connections, processing malformed packets without proper input validation or sanitization. Affected CPE pattern: cpe:2.3:a:hikvision:wireless_access_point:*:*:*:*:*:*:*:* (specific version ranges to be determined from vendor advisory). The attack surface includes device management interfaces, API endpoints, or protocol handlers that parse incoming packets from authenticated users.

Know when Hikvision gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Some Hikvision Wireless Access Point are vulnerable to authenticated remote command execution due to insufficient input validation. Attackers with valid credentials can exploit this flaw by sending crafted packets containing malicious commands to affected devices, leading to arbitrary command execution.

Executive ViewAI

Why It Matters

Hikvision Wireless Access Points are vulnerable to remote command execution by authenticated users, potentially allowing attackers with valid credentials to gain full control of network infrastructure. This poses a critical risk to organizations relying on these devices for network access, as compromised access points could enable lateral movement, data exfiltration, and network disruption.

Business Impact: High
Compensating Controls

Implement network segmentation to isolate access points from sensitive systems; disable unnecessary remote management interfaces; enforce multi-factor authentication for administrative access; deploy intrusion detection/prevention systems to monitor for command injection patterns; restrict administrative access to specific IP ranges; implement strict firewall rules limiting access to management ports; establish enhanced logging and monitoring for authentication attempts; disable unused features on affected devices.

Threat Intelligence Overview

EPSS Score
0.2%
Top 57% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2017-7921 CRITICAL POC
9.8 May 06

An Improper Authentication issue was discovered in Hikvision DS-2CD2xx2F-I Series V5.2.0 build 140721 to V5.4.0 build 16

CVE-2014-4880 HIGH POC
7.5 Dec 08

Buffer overflow in Hikvision DVR DS-7204 Firmware 2.2.10 build 131009, and other models and versions, allows remote atta

CVE-2013-4977 CRITICAL POC
10.0 Mar 03

Buffer overflow in the RTSP Packet Handler in Hikvision DS-2CD7153-E IP camera with firmware 4.1.0 b130111 (Jan 2013), a

CVE-2021-36260 CRITICAL POC
9.8 Sep 22

A command injection vulnerability in the web server of some Hikvision product. Rated critical severity (CVSS 9.8), this

CVE-2023-6895 CRITICAL POC
9.8 Dec 17

A vulnerability was found in Hikvision Intercom Broadcasting System 3.0.3_20201113_RELEASE(HIK). Rated critical severity

CVE-2022-28171 CRITICAL POC
9.8 Jun 27

The web module in some Hikvision Hybrid SAN/Cluster Storage products have the following security vulnerability. Rated cr

CVE-2023-6893 HIGH POC
7.5 Dec 17

A vulnerability was found in Hikvision Intercom Broadcasting System 3.0.3_20201113_RELEASE(HIK) and classified as proble

CVE-2025-34067 CRITICAL
10.0 Jul 02

An unauthenticated remote command execution vulnerability exists in the applyCT component of the Hikvision Integrated Se

CVE-2023-6894 MEDIUM POC
6.5 Dec 17

A vulnerability was found in Hikvision Intercom Broadcasting System 3.0.3_20201113_RELEASE(HIK). Rated medium severity (

CVE-2023-28812 CRITICAL
9.8 Nov 23

There is a buffer overflow vulnerability in a web browser plug-in could allow an attacker to exploit the vulnerability b

CVE-2023-28808 CRITICAL
9.8 Apr 11

Some Hikvision Hybrid SAN/Cluster Storage products have an access control vulnerability which can be used to obtain the

CVE-2022-28173 CRITICAL
9.8 Dec 19

The web server of some Hikvision wireless bridge products have an access control vulnerability which can be used to obta

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy