CriticalCVE-2017-7921

    Hikvision Multiple Products Improper Authentication Vulnerability (CVE-2017-7921)

    Published In CISA KEV since Sources: CVE.org

    Share

    What is affected, what to do

    An Improper Authentication issue was discovered in Hikvision DS-2CD2xx2F-I Series V5.2.0 build 140721 to V5.4.0 build 160530, DS-2CD2xx0F-I Series V5.2.0 build 140721 to V5.4.0 Build 160401, DS-2CD2xx2FWD Series V5.3.1 build 150410 to V5.4.4 Build 161125, DS-2CD4x2xFWD Series V5.2.0 build 140721 to V5.4.0 Build 160414, DS-2CD4xx5 Series V5.2.0 build 140721 to V5.4.0 Build 160421, DS-2DFx Series V5.2.0 build 140805 to V5.4.5 Build 160928, and DS-2CD63xx Series V5.0.9 build 140305 to V5.3.5 Build 160106 devices. The improper authentication vulnerability occurs when an application does not adequately or correctly authenticate users.

    The vulnerability is being actively exploited; treat it as a priority. The available sources name no fixed version. Check the vendor guidance in the references below. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • Hikvision Cameras eq Hikvision Cameras..Hikvision Cameras

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    9.8

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    9.8

    CVSS v3

    Severity Critical on the scale from 0 to 10.

    Source: CVE.org

    —

    EPSS score

    No value is available for this vulnerability.

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    228.98 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploited
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    9.8 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    9.8
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    99.99
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    CISA assessment (SSVC)
    Exploitation: active · automatable · Technical impact: total
    Source: CISA Vulnrichment, as of 5 March 2026
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-287

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This CVE sits on KEV because exploitation is network-reachable, unauthenticated and trivial — exposed Hikvision cameras are among the most consistently scanned and abused devices on the public internet, routinely enrolled into Mirai-derivative botnets and used for video and credential theft. For NIS2-regulated operators, any internet-reachable camera from the listed model lines should be treated as presumptively compromised until proven otherwise; internally reachable units are lower urgency but still a credible pivot into OT, access-control or office networks. Score P1 for all externally reachable assets, P2 for internally reachable ones in sensitive zones (datacentre, production, physical access control), P3 for cameras already isolated in a VLAN without egress.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Patch firmware on every affected Hikvision model (DS-2CD2xx2F-I, DS-2CD2xx0F-I, DS-2CD2xx2FWD, DS-2CD4x2xFWD, DS-2CD4xx5, DS-2DFx, DS-2CD63xx) to a build above the ranges listed in the CVE. Pull the exact target firmware from the Hikvision support portal or your distributor — fixed build numbers differ per model line.
      • Inventory first: scan every VLAN for Hikvision devices on TCP/80, TCP/8000 (SDK), TCP/554 (RTSP) and TCP/443. Match HTTP banners „App-webs" or „DNVRS-Webs" against the asset register.
      • Kill internet exposure immediately: remove any NAT/port-forward for the camera web UI, SDK port 8000 and RTSP at the perimeter firewall; disable UPnP on edge routers.
      • Reset admin passwords. Because this is an authentication bypass, every account that was previously reachable must be treated as compromised — rotate credentials after the firmware update, not before.
      • Review the upstream NVR/VMS (iVMS-4200, Blue Iris, Milestone, etc.). Stolen camera credentials are frequently reused as a pivot; rotate service accounts there too.
    2. Runbook step 2

      Mitigation layers

      • Network segmentation: move cameras into a dedicated VLAN with no internet egress. Only the VMS server may initiate TCP/80 and TCP/8000 inbound to cameras; return traffic restricted to RTSP (TCP/554 plus the RTP/UDP range).
      • Egress filtering: allow cameras outbound only to NTP, DNS and the VMS. Drop everything else at the L3 switch or firewall, especially Telnet/23, SSH/22 and arbitrary IRC ports typically used by Mirai-family loaders.
      • If remote access is operationally required, front-end with VPN plus a reverse proxy. Block direct URLs such as /System/configurationFile and /Security/users, and requests carrying the ?auth= query string, at the proxy.
      • Hardening: disable Telnet, SSH and UPnP in the camera web UI; remove unused ONVIF users; enable „Illegal Login Lock".
      • Lifecycle: any model for which the vendor no longer ships firmware above the vulnerable builds (end-of-support) belongs in the NIS2 risk treatment plan as a replacement item.
    3. Runbook step 3

      Detection rules

      • Parse camera / reverse-proxy access logs for requests containing the query string auth=YWRtaW46MTEK or any GET to /System/configurationFile — the canonical PoC path for config extraction.
      • Suricata/Snort: alert on HTTP requests to /Security/users or /System/configurationFile that return HTTP 200 without a preceding 401. Example: content:"GET /System/configurationFile?auth="; http_method; nocase;.
      • Zeek http.log or firewall flow logs: spikes in inbound TCP/80 or TCP/8000 to camera IPs from unexpected source ASNs. KQL sketch: CommonSecurityLog | where DestinationPort in (80,8000) | where DestinationIP in (CameraList) | summarize count() by SourceIP, bin(TimeGenerated, 1h) | where count_ > 50.
      • NetFlow/IPFIX: outbound connections from camera IPs to TCP/23, TCP/2323, TCP/6667 or known Mirai C2 indicators — strong signal of post-exploitation botnet enrolment.
      • VMS audit log: alert on unexpected config changes, new users, altered RTSP streams or firmware downgrades, and correlate in the SIEM.

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    An Improper Authentication issue was discovered in Hikvision DS-2CD2xx2F-I Series V5.2.0 build 140721 to V5.4.0 build 160530, DS-2CD2xx0F-I Series V5.2.0 build 140721 to V5.4.0 Build 160401, DS-2CD2xx2FWD Series V5.3.1 build 150410 to V5.4.4 Build 161125, DS-2CD4x2xFWD Series V5.2.0 build 140721 to V5.4.0 Build 160414, DS-2CD4xx5 Series V5.2.0 build 140721 to V5.4.0 Build 160421, DS-2DFx Series V5.2.0 build 140805 to V5.4.5 Build 160928, and DS-2CD63xx Series V5.0.9 build 140305 to V5.3.5 Build 160106 devices. The improper authentication vulnerability occurs when an application does not adequately or correctly authenticate users. This may allow a malicious user to escalate his or her privileges on the system and gain access to sensitive information.

    Source: NVD (NIST), cvelistv5, CISA KEV Catalog, CVE.org (MITRE)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    —Hikvision Cameras
    • Hikvision Cameras
    • —

    Vendors and products

    Affected operating systems

    Affected operating systems
    Otherhikvisionds-2cd2032-i_firmware—
    Otherhikvisionds-2cd2112-i_firmware—
    Otherhikvisionds-2cd2132-i_firmware—
    Otherhikvisionds-2cd2212-i5_firmware—
    Otherhikvisionds-2cd2232-i5_firmware—
    Otherhikvisionds-2cd2312-i_firmware—
    Otherhikvisionds-2cd2332-i_firmware—
    Otherhikvisionds-2cd2412f-i\(w\)_firmware—
    Otherhikvisionds-2cd2432f-i\(w\)_firmware—
    Otherhikvisionds-2cd2512f-i\(s\)_firmware—
    Otherhikvisionds-2cd2532f-i\(s\)_firmware—
    Otherhikvisionds-2cd2612f-i\(s\)_firmware—
    Otherhikvisionds-2cd2632f-i\(s\)_firmware—
    Otherhikvisionds-2cd2712f-i\(s\)_firmware—
    Otherhikvisionds-2cd2732f-i\(s\)_firmware—
    Otherhikvisionds-2cd2t32-i3_firmware—
    Otherhikvisionds-2cd2t32-i5_firmware—
    Otherhikvisionds-2cd2t32-i8_firmware—
    Otherhikvisionds-2cd4012f-\(a\)_firmware—
    Otherhikvisionds-2cd4012f-\(p\)_firmware—
    Otherhikvisionds-2cd4012f-\(w\)_firmware—
    Otherhikvisionds-2cd4012fwd-\(a\)_firmware—
    Otherhikvisionds-2cd4012fwd-\(p\)_firmware—
    Otherhikvisionds-2cd4012fwd-\(w\)_firmware—

    Weakness classes (CWE)

    • CWE-287Improper Authentication

      Class

      When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

      Entry at MITRE CWE-287

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    PoC-in-GitHub (nomi-sec)CVE-2017-7921 (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2017-7921-Exploit (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)hikvision_CVE-2017-7921_auth_bypass_config_decryptor (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2017-7921-EXP (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)hikihack (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2017-7921-Writeup-2026 (opens in a new tab)github.comPoC (publicly reported)reported, not verified

    References & sources

    • ics-cert.us-cert.govadvisories/ICSA-17-124-01x_refsource_MISC, Third-party advisory, US government resource
    • securityfocus.com98313Vulnerability database, x_refsource_BID, Broken link, Third-party advisory, Vulnerability database
    • ghostbin.compaste/q2vq2x_refsource_MISC, Broken link
    • hikvision.comus/about_10805.htmlx_refsource_MISC, Patch, Vendor advisory
    • hikvision.comus-en/support/document-center/special-notices/privilege-escalat…Third-party advisory
    • hikvision.comcn/support/CybersecurityCenter/SecurityNotices/20170314Third-party advisory
    • hikvision.comen/support/cybersecurity/security-advisory/security-notificatio…Third-party advisory
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2017-7921government-resource, US government resource
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2017-7921
    <a href="https://intel.neosec.eu/en/cve/CVE-2017-7921"><img src="https://intel.neosec.eu/badge/cve/CVE-2017-7921.svg?lang=en" alt="CVE-2017-7921 – NEOSEC Intel" height="20"></a>