CVE-2017-7921

CRITICAL KEV NUCLEI

Hikvision DS-2CD2xx2F-I Series V5.2.0 build 140721 to V5.4.0 build 160530 - Improper Authentication

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2017-7921 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added March 5, 2026. EIP tracks 26 public exploits from researchers including chrisjd20, JrDw0, BurnyMcDull, including a Metasploit module auxiliary/admin/http/hikvision_unauth_pwd_reset_cve_2017_7921. A Nuclei detection template is also available.

AI-analyzed exploit summary This PoC decrypts Hikvision camera configuration files obtained via CVE-2017-7921, an authentication bypass vulnerability. It uses a static AES key and XOR operations to reveal sensitive credentials stored in the config file.

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.

Exploits (26)

nomisec WORKING POC 114 stars
by chrisjd20 · local
https://github.com/chrisjd20/hikvision_CVE-2017-7921_auth_bypass_config_decryptor

This PoC decrypts Hikvision camera configuration files obtained via CVE-2017-7921, an authentication bypass vulnerability. It uses a static AES key and XOR operations to reveal sensitive credentials stored in the config file.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hikvision IP Cameras (affected versions)
No auth needed
Prerequisites: Access to vulnerable Hikvision camera · Configuration file obtained via CVE-2017-7921
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 100 stars
by JrDw0 · remote
https://github.com/JrDw0/CVE-2017-7921-EXP

This PoC exploits an improper authentication vulnerability in Hikvision devices (CVE-2017-7921) by bypassing authentication via a crafted 'auth' parameter to retrieve sensitive configuration files containing plaintext credentials. The exploit decrypts and processes the configuration file to extract user credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hikvision devices (various models)
No auth needed
Prerequisites: Network access to the target Hikvision device
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 36 stars
by BurnyMcDull · remote
https://github.com/BurnyMcDull/CVE-2017-7921

This repository contains a Go-based PoC for CVE-2017-7921, targeting Hikvision devices with unauthenticated access and credential extraction. It includes modules for vulnerability detection, password brute-forcing, and exploitation via AES decryption of configuration files.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision devices (specific version not specified)
No auth needed
Prerequisites: Network access to target devices · Knowledge of target IP range or list
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 35 stars
by K3ysTr0K3R · remote
https://github.com/K3ysTr0K3R/CVE-2017-7921-EXPLOIT

This PoC exploits CVE-2017-7921, an information disclosure vulnerability in Hikvision devices, by extracting encrypted configuration files and decrypting credentials. It also captures snapshots from vulnerable devices.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Hikvision devices (firmware versions affected by CVE-2017-7921)
No auth needed
Prerequisites: Network access to the target device · Port 80 or other specified ports open on the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER 16 stars
by voidsshadows · poc
https://github.com/voidsshadows/Hikvision-City-Hunter

This repository contains a Python-based scanner that leverages Shodan to discover and enumerate Hikvision devices (DVRs, NVRs, and cameras) with default credentials. It does not exploit CVE-2017-7921 but instead scans for vulnerable devices using a known default credential (admin:12345).

Classification
Scanner 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hikvision DVRs, NVRs, and IP cameras (various models)
No auth needed
Prerequisites: Shodan API key · Internet access · Python 3.8+
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 11 stars
by MisakaMikato · infoleak
https://github.com/MisakaMikato/cve-2017-7921-golang

This repository contains a Go-based exploit for CVE-2017-7921, targeting Hikvision devices. The exploit decrypts configuration files to extract credentials, leveraging AES-ECB decryption and XOR operations.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Hikvision devices (specific version not specified)
No auth needed
Prerequisites: Network access to the target device · Target device must be vulnerable to CVE-2017-7921
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 6 stars
by 201646613 · infoleak
https://github.com/201646613/CVE-2017-7921

This PoC exploits CVE-2017-7921, an authentication bypass vulnerability in Hikvision cameras, to extract user credentials, configuration files, and snapshots. It includes functionality to decrypt configuration files and enumerate user accounts.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision cameras (specific versions not specified)
No auth needed
Prerequisites: Network access to the target camera · Camera must be vulnerable to CVE-2017-7921
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER 5 stars
by kooroshsanaei · infoleak
https://github.com/kooroshsanaei/HikVision-CVE-2017-7921

This repository contains a multi-threaded scanner to identify HikVision devices vulnerable to CVE-2017-7921 by checking the /onvif-http/snapshot?auth=YWRtaW46MTEK endpoint. It verifies vulnerability by checking for a 200 status code and a content length greater than 100 bytes.

Classification
Scanner 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: HikVision devices
No auth needed
Prerequisites: List of target IPs in targets.txt
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 4 stars
by yousouf-Tasfin · infoleak
https://github.com/yousouf-Tasfin/cve-2017-7921-Mass-Exploit

This repository contains a working PoC for CVE-2017-7921, targeting HKVision cameras with unauthenticated configuration file download and snapshot capture via hardcoded credentials. The scripts automate mass exploitation and include a decryption tool for extracted configuration files.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: HKVision cameras (App-webs server)
No auth needed
Prerequisites: List of target IPs · Network access to port 80
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by Wyl-cmd · infoleak
https://github.com/Wyl-cmd/CVE-2017-7921-Research-Toolkit

This repository contains a Python-based toolkit for detecting and exploiting CVE-2017-7921, an authentication bypass vulnerability in Hikvision IP cameras. It automates the process of downloading encrypted configuration files, decrypting them using hardcoded keys, and extracting credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision IP cameras (multiple versions)
No auth needed
Prerequisites: Network access to vulnerable Hikvision cameras · Python 3.7+ environment with required dependencies
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER 2 stars
by aengussong · infoleak
https://github.com/aengussong/hikvision_probe

This repository contains a scanner for multiple Hikvision vulnerabilities, including CVE-2022-28171, which is a blind SQL injection vulnerability. The scanner checks for the presence of vulnerabilities by sending crafted requests and analyzing responses.

Classification
Scanner 90%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: Hikvision devices
No auth needed
Prerequisites: Network access to the target device
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by KelvinWin10 · remote
https://github.com/KelvinWin10/CVE-2017-7921-rewrite

This repository contains a functional Python exploit for CVE-2017-7921, which targets an authentication bypass vulnerability in Hikvision cameras. The exploit retrieves user credentials and snapshots by leveraging a hardcoded authentication token and AES-XOR decryption.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision cameras (firmware versions affected by CVE-2017-7921)
No auth needed
Prerequisites: Network access to the target camera · Camera must be vulnerable to CVE-2017-7921
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by 0xf3d0rq · poc
https://github.com/0xf3d0rq/CVE-2017-7921

This PoC exploits CVE-2017-7921, an authentication bypass vulnerability in Hikvision IP cameras and DVRs, to extract admin credentials by decrypting and XORing configuration files. It includes multi-threading for scanning multiple targets.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision IP cameras and DVRs (Web Version 3.1.3.150324)
No auth needed
Prerequisites: List of target IPs in 'ips.txt' · Network access to vulnerable devices
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by krypton612 · infoleak
https://github.com/krypton612/hikivision

This repository contains a working exploit for CVE-2017-7921, targeting Hikvision devices. It includes a script to check for vulnerability, extract configuration files, and decrypt credentials using a known backdoor authentication bypass.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision devices (multiple models)
No auth needed
Prerequisites: Network access to the target device · Port 80 or 443 open on the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by mverschu · remote
https://github.com/mverschu/CVE-2017-7921

This is a functional exploit for CVE-2017-7921, an authentication bypass vulnerability in Hikvision cameras. It includes methods to check for vulnerability, extract credentials via OpenSSL decryption, and capture snapshots using the magic auth bypass.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision cameras (multiple models)
No auth needed
Prerequisites: Network access to the target camera · OpenSSL installed for credential extraction
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by saaydmr · poc
https://github.com/saaydmr/hikvision-exploiter

This PoC exploits CVE-2017-7921, an information disclosure vulnerability in Hikvision devices, by extracting encrypted configuration files and decrypting credentials. It also captures snapshots from vulnerable devices.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Hikvision devices (specific version not specified)
No auth needed
Prerequisites: Network access to the target device · Target device must be vulnerable to CVE-2017-7921
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by lastvocher · poc
https://github.com/lastvocher/Hikvision-CVE-2017-7921-decryptor

This repository contains a Python script to decrypt configuration files from Hikvision IP cameras vulnerable to CVE-2017-7921, an authentication bypass flaw. The script uses AES-ECB decryption with a static key and XOR operations to extract sensitive information from the downloaded config file.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Hikvision IP Cameras (affected versions)
No auth needed
Prerequisites: Access to vulnerable Hikvision camera · Ability to download configuration file via CVE-2017-7921
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by b3pwn3d · infoleak
https://github.com/b3pwn3d/CVE-2017-7921

This PoC exploits CVE-2017-7921, an authentication bypass vulnerability in certain devices, to extract admin credentials by decrypting configuration files. It checks for vulnerability status and retrieves usernames and passwords if the target is vulnerable.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Unknown (likely embedded devices or specific web applications)
No auth needed
Prerequisites: Target IP list · Network access to target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by AnonkiGroup · infoleak
https://github.com/AnonkiGroup/AnonHik

This Python script exploits CVE-2017-7921, an authentication bypass vulnerability in Hikvision cameras, to download a snapshot image without credentials. It constructs a URL with hardcoded admin credentials and attempts to save the image locally.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hikvision cameras (specific version not specified)
No auth needed
Prerequisites: Network access to the target camera · ONVIF HTTP snapshot endpoint enabled
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by GabrielAvls · infoleak
https://github.com/GabrielAvls/CVE-2017-7921

This PoC exploits CVE-2017-7921 to extract admin credentials from vulnerable cameras by decrypting configuration files and downloading snapshots. It includes functionality to convert images into a video and supports Tor for anonymity.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Unknown camera model (likely a specific IP camera firmware)
No auth needed
Prerequisites: Network access to the vulnerable camera · Python 3.x with required dependencies · Optional: Tor service for anonymity
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by inj3ction · remote
https://github.com/inj3ction/CVE-2017-7921-EXP

This PoC exploits an improper authentication vulnerability in Hikvision devices (CVE-2017-7921) by bypassing authentication via a crafted 'auth' parameter. It retrieves and decrypts configuration files containing plaintext credentials using a static encryption key.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hikvision devices (various models)
No auth needed
Prerequisites: Network access to the target Hikvision device
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by p4tq · remote
https://github.com/p4tq/hikvision_CVE-2017-7921_auth_bypass_config_decryptor

This PoC decrypts Hikvision camera configuration files obtained via CVE-2017-7921, an authentication bypass vulnerability. It uses a static AES key and XOR operations to reveal sensitive credentials stored in the config file.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hikvision IP Cameras (affected versions)
No auth needed
Prerequisites: Access to vulnerable Hikvision camera · Configuration file obtained via CVE-2017-7921
devstral-2 · analyzed Feb 16, 2026 Full analysis →
vulncheck_xdb WRITEUP
remote
https://github.com/diegovargasj/CVE-2025-65753

This repository provides a detailed technical analysis of CVE-2025-65753, a TLS certificate validation flaw in Gryphon Guardian access points. It describes the vulnerability, exploitation methods (MitM/DNS spoofing), and includes step-by-step instructions for creating a malicious payload to achieve remote code execution.

Classification
Writeup 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Gryphon Guardian access point, firmware version 01.06.0006.22
No auth needed
Prerequisites: network access to intercept traffic · ability to spoof DNS or perform MitM · self-signed TLS certificate
devstral-2 · analyzed Feb 25, 2026 Full analysis →
vulncheck_xdb WORKING POC
infoleak
https://github.com/f3d0rq/CVE-2017-7921

The repository contains a functional exploit for CVE-2017-7921, an authentication bypass vulnerability in Hikvision IP cameras and DVRs. The script automates the process of retrieving encrypted configuration files, decrypting them, and extracting admin credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Hikvision IP cameras and DVRs (Web Version 3.1.3.150324)
No auth needed
Prerequisites: target IP addresses or URLs · network access to vulnerable devices
devstral-2 · analyzed Feb 25, 2026 Full analysis →
metasploit WORKING POC
by Monte Crypto · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/hikvision_unauth_pwd_reset_cve_2017_7921.rb

This Metasploit module exploits an improper authentication logic flaw in Hikvision IP cameras (CVE-2017-7921) to perform an unauthenticated password reset for any user account, granting administrative access.

Classification
Working Poc 100%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hikvision IP cameras (and white-labeled variants) with vulnerable firmware
No auth needed
Prerequisites: Network access to the target device · Knowledge of a valid username (default: admin)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC
by Monte Crypto · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/hikvision_info_disclosure_cve_2017_7921.rb

This Metasploit module exploits an unauthenticated information disclosure vulnerability in Hikvision IP cameras (CVE-2017-7921) to retrieve sensitive data such as credentials, configuration details, and snapshots. It decrypts the camera's configuration file using AES-128-ECB and XOR operations to extract plaintext passwords and other sensitive information.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Hikvision IP Cameras (and white-labeled variants)
No auth needed
Prerequisites: Network access to the target device · Target device must be running a vulnerable Hikvision firmware
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

Hikvision - Authentication Bypass
CRITICALby princechaddha

Scores

CVSS v3 9.8
EPSS 0.9423
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2026-03-05
VulnCheck KEV 2023-11-18
ENISA EUVD EUVD-2017-16892
CWE
CWE-287
Status published
Products (50)
hikvision/ds-2cd2032-i_firmware
hikvision/ds-2cd2112-i_firmware
hikvision/ds-2cd2132-i_firmware
hikvision/ds-2cd2212-i5_firmware
hikvision/ds-2cd2232-i5_firmware
hikvision/ds-2cd2312-i_firmware
hikvision/ds-2cd2332-i_firmware
hikvision/ds-2cd2412f-i\(w\)_firmware
hikvision/ds-2cd2432f-i\(w\)_firmware
hikvision/ds-2cd2512f-i\(s\)_firmware
... and 40 more
Published May 06, 2017
KEV Added Mar 05, 2026
Tracked Since Feb 18, 2026