PoC Monitor
← All CVEs
CVE-2017-7921published 6 May 2017 00:00 UTCData: JSON · API

Hikvision Cameras

Hikvision Multiple Products Improper Authentication Vulnerability

Edge device · Camera / IoTknown edge product: Hikvision Hikvision Cameras Hikvision Multiple Products Improper (high confidence)

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.

First public PoC 3.0 yearsafter publication · 27 Apr 2020
Public PoCs2623 on GitHub · 3 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS9.8critical · scored by CISA ADP · CWE-287
CISA KEV 5 Mar 20268.8 years after publication

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 y+5 y+6 y+7 y+8 yCVE published6 May 2017 · t = 0First public PoC27 Apr 2020 · t+3.0yAdded to CISA KEV5 Mar 2026 · t+8.8y

First public PoC 3.0 years after publication; added to CISA KEV 8.8 years after publication. First PoC: JrDw0/CVE-2017-7921-EXP (created 27 Apr 2020, found by us: backfilled).

PoC repositories

Found on GitHub.

23 PoCs · 8 pending · 3 informational · 1 not a PoC · 1 suspicious or fake

PoCs 23
RepositoryCreatedFound by usStarsAssessment
JrDw0/CVE-2017-7921-EXP 27 Apr 2020 +3.0 y backfilled 105 PoC
BurnyMcDull/CVE-2017-7921 12 Nov 2020 +3.5 y backfilled 35 PoC
MisakaMikato/cve-2017-7921-golang 13 Nov 2020 +3.5 y backfilled 13 PoC
D2550/CVE_2017_7921_EXP 23 Nov 2020 +3.6 y backfilled 5 PoC
chrisjd20/hikvision_CVE-2017-7921_auth_bypass_config_decryptor 29 Jan 2021 +3.7 y backfilled 116 PoC via PoC Index
p4tq/hikvision_CVE-2017-7921_auth_bypass_config_decryptor 15 Jun 2022 +5.1 y backfilled 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

WhaleFell/CameraHack 11 Jul 2022 +5.2 y backfilled 251 PoC via PoC Index
blkgzs/CameraHack 13 Jul 2022 +5.2 y backfilled 34 PoC via PoC Index
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

201646613/CVE-2017-7921 20 Jul 2022 +5.2 y backfilled 6 PoC
alkaid176/CVE-2017-7921 20 Jul 2022 +5.2 y backfilled 6 PoC
inj3ction/CVE-2017-7921-EXP 19 Oct 2022 +5.5 y backfilled 0 PoC
AnonkiGroup/AnonHik 23 Oct 2023 +6.5 y backfilled 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

b3pwn3d/CVE-2017-7921 20 Nov 2023 +6.5 y backfilled 0 PoC
kooroshsanaei/HikVision-CVE-2017-7921 2 Jul 2024 +7.2 y backfilled 7 PoC
aengussong/hikvision_probe 26 Nov 2024 +7.6 y backfilled 3 Scanner
0xf3d0rq/CVE-2017-7921 27 Nov 2025 +8.6 y backfilled 1 PoC
Wyl-cmd/CVE-2017-7921-Research-Toolkit 28 Jan 2026 +8.7 y backfilled 5 PoC
mverschu/CVE-2017-7921 9 Feb 2026 +8.8 y backfilled 1 PoC
KelvinWin10/CVE-2017-7921-rewrite 15 Feb 2026 +8.8 y backfilled 2 PoC
Th3Purge/CVE-2017-7921-Exploit 11 Sep 2026 +9.4 y backfilled 9 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

m7arm4n/CVE-2017-7921 14 Oct 2026 +9.4 y backfilled 0 PoC
intcost/cve-2017-7921-hikvision-poc 4 Nov 2026 +9.5 y 14 Nov 2026 0 PoC
Mr-Ochobot/Hikvision-CCTV-POC 5 Nov 2026 +9.5 y 14 Nov 2026 36 PoC
Pending 8
RepositoryCreatedFound by usStarsAssessment
lastvocher/Hikvision-CVE-2017-7921-decryptor 8 Oct 2025 +8.4 y backfilled 0 Pending
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

saaydmr/hikvision-exploiter 21 Jan 2026 +8.7 y backfilled 1 Pending
MK-ULTRA-MK-ULTRA/CVE-2017-7921-2026-writeup 27 Oct 2026 +9.5 y 14 Nov 2026 0 Pending
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Bethelhem-Yirga/hikvision-cve-2017-7921-lab 6 Nov 2026 +9.5 y 14 Nov 2026 0 Pending
K3ysTr0K3R/CVE-2017-7921-EXPLOIT unknown backfilled 0 Pending · repository unavailable (HTTP 404)
fracergu/CVE-2017-7921 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
initon/Hikvision---CVE-2017-7921 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
yousouf-Tasfin/cve-2017-7921-Mass-Exploit unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Informational 3
RepositoryCreatedStarsAssessment
voidsshadows/Hikvision-City-Hunter 19 Nov 2025 +8.5 y 19 Informational · detection
MK-ULTRA-project-monarch/CVE-2017-7921-Writeup-2026 14 Jul 2026 +9.2 y 1 Informational · detection
xjghnxhlh/hikihack 2 Aug 2026 +9.2 y 0 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
krypton612/hikivision 4 Jul 2023 +6.2 y 2 Not a PoC · unrelated
Suspicious or fake 1
RepositoryCreatedStarsAssessment
GabrielAvls/CVE-2017-7921 24 Jan 2025 +7.7 y 0 Suspicious · score 55
Why suspicious
  • owner account created less than 7 days before the repo
  • description pushes a download/binary

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 24 PoC repos

GET /System/configurationFile

Query
auth=YWRtaW46MTEK auth=
Ports
80, 443, 8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3 Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1 hik-poc/1.0 (authorized self-assessment)
Seen in
11 repos: BurnyMcDull/CVE-2017-7921, D2550/CVE_2017_7921_EXP, JrDw0/CVE-2017-7921-EXP, Mr-Ochobot/Hikvision-CCTV-POC, Wyl-cmd/CVE-2017-7921-Research-Toolkit, aengussong/hikvision_probe, b3pwn3d/CVE-2017-7921, inj3ction/CVE-2017-7921-EXP, intcost/cve-2017-7921-hikvision-poc, m7arm4n/CVE-2017-7921, mverschu/CVE-2017-7921
Evidence
BurnyMcDull/CVE-2017-7921/main.go:149 D2550/CVE_2017_7921_EXP/CVE_2017_7921_EXP.py:75 JrDw0/CVE-2017-7921-EXP/CVE_2017_7921_EXP.py:75 Mr-Ochobot/Hikvision-CCTV-POC/hikvision.py:49 Wyl-cmd/CVE-2017-7921-Research-Toolkit/batch_decrypt.py:176 aengussong/hikvision_probe/cve/CVE_2017_7921.py:36

GET /Security/users

Query
auth=YWRtaW46MTEK auth=YWRtaW46c28xWVBx
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3 Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Seen in
7 repos: 201646613/CVE-2017-7921, BurnyMcDull/CVE-2017-7921, GabrielAvls/CVE-2017-7921, aengussong/hikvision_probe, alkaid176/CVE-2017-7921, b3pwn3d/CVE-2017-7921, mverschu/CVE-2017-7921
Evidence
201646613/CVE-2017-7921/CVE-2017-7921.py:39 201646613/CVE-2017-7921/CVE-2017-7921.py:78 201646613/CVE-2017-7921/CVE-2017-7921.py:92 BurnyMcDull/CVE-2017-7921/main.go:180 GabrielAvls/CVE-2017-7921/script.py:97 GabrielAvls/CVE-2017-7921/script.py:170

POST /RPC2_Login

Key headers
Accept: application/json, text/javascript, */*; q=0.01 Accept-Language: en-US,en;q=0.9 Origin: {var}/ Referer: {var}/ X-Requested-With: XMLHttpRequest
Body markers
"id" "method":"global.login" "params" "session" "method":"Security.addUserPlain" in application/json
Ports
12345
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Seen in
2 repos: WhaleFell/CameraHack, blkgzs/CameraHack
Evidence
WhaleFell/CameraHack/DaHua_autoAddUser.py:75 WhaleFell/CameraHack/dahua/bypass.py:23 WhaleFell/CameraHack/dahua/bypass.py:50 WhaleFell/CameraHack/dahua/bypass.py:59 blkgzs/CameraHack/dahua/bypass.py:23 blkgzs/CameraHack/dahua/bypass.py:50

GET /PSIA/System/deviceinfo

Seen in
1 repo: BurnyMcDull/CVE-2017-7921
Evidence
BurnyMcDull/CVE-2017-7921/main.go:201

GET /Streaming/channels/1/picture{var}

Seen in
1 repo: KelvinWin10/CVE-2017-7921-rewrite
Evidence
KelvinWin10/CVE-2017-7921-rewrite/snapshot.py:14

GET /System/configurationFile{var}

Seen in
1 repo: KelvinWin10/CVE-2017-7921-rewrite
Evidence
KelvinWin10/CVE-2017-7921-rewrite/credentials.py:47

PUT /SDK/webLanguage

Key headers
Accept: */* Accept-Language: en-US,en;q=0.9,sv;q=0.8 X-Requested-With: XMLHttpRequest
Body markers
<?xml version="1.0" encoding="UTF-8"?>' \ in application/x-www-form-urlencoded; charset=UTF-8
Ports
80
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Seen in
1 repo: aengussong/hikvision_probe
Evidence
aengussong/hikvision_probe/cve/CVE_2021_36260.py:24

GET /Network/interfaces

Query
auth=YWRtaW46OXduWA
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Seen in
1 repo: aengussong/hikvision_probe
Evidence
aengussong/hikvision_probe/cve/CVE_2017_7921.py:31

GET /System/Storage/volumes

Query
auth=YWRtaW46b0tSb0ZGNzl6
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Seen in
1 repo: aengussong/hikvision_probe
Evidence
aengussong/hikvision_probe/cve/CVE_2017_7921.py:32

GET /System/deviceInfo

Query
auth=YWRtaW46a3ZEUE4
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Seen in
1 repo: aengussong/hikvision_probe
Evidence
aengussong/hikvision_probe/cve/CVE_2017_7921.py:30

GET /System/time

Query
auth=YWRtaW46UEtTOHVpTWg1UUk4
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Seen in
1 repo: aengussong/hikvision_probe

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /System/configurationFile
(?i)^/System/configurationFile\?(?:.*&)?auth=YWRtaW46MTEK.*auth=
GET /Security/users
(?i)^/Security/users\?(?:.*&)?auth=YWRtaW46MTEK.*auth=YWRtaW46c28xWVBx
GET /onvif-http/snapshot
(?i)^/onvif-http/snapshot\?(?:.*&)?auth=YWRtaW46MTEK
POST /RPC2_Login
(?i)^/RPC2_Login(?:[?#].*)?$
GET /PSIA/System/deviceinfo
(?i)^/PSIA/System/deviceinfo(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /System/configurationFile
alert http any any -> $HOME_NET [80,443,8080] (msg:"GG PoC-Monitor CVE-2017-7921 Hikvision Hikvision Cameras exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/System/configurationFile"; http.uri; content:"auth=YWRtaW46MTEK"; http.uri; content:"auth="; reference:url,poc.griffinguard.io/cve/CVE-2017-7921; classtype:web-application-attack; sid:9017097; rev:1;)
GET /Security/users
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2017-7921 Hikvision Hikvision Cameras exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/Security/users"; http.uri; content:"auth=YWRtaW46MTEK"; http.uri; content:"auth=YWRtaW46c28xWVBx"; reference:url,poc.griffinguard.io/cve/CVE-2017-7921; classtype:web-application-attack; sid:9056190; rev:1;)
GET /onvif-http/snapshot
alert http any any -> $HOME_NET [80,443,12345] (msg:"GG PoC-Monitor CVE-2017-7921 Hikvision Hikvision Cameras exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/onvif-http/snapshot"; http.uri; content:"auth=YWRtaW46MTEK"; reference:url,poc.griffinguard.io/cve/CVE-2017-7921; classtype:web-application-attack; sid:9168267; rev:1;)
POST /RPC2_Login
alert http any any -> $HOME_NET [12345] (msg:"GG PoC-Monitor CVE-2017-7921 Hikvision Hikvision Cameras exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/RPC2_Login"; http.header; content:"Accept: application/json, text/javascript, */*|3b| q=0.01"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header_names; content:"Origin"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"|22|id|22|"; http.request_body; content:"|22|method|22|:|22|global.login|22|"; http.request_body; content:"|22|params|22|"; http.request_body; content:"|22|session|22|"; http.request_body; content:"|22|method|22|:|22|Security.addUserPlain|22|"; reference:url,poc.griffinguard.io/cve/CVE-2017-7921; classtype:web-application-attack; sid:9837164; rev:1;)
GET /PSIA/System/deviceinfo
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2017-7921 Hikvision Hikvision Cameras exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/PSIA/System/deviceinfo"; reference:url,poc.griffinguard.io/cve/CVE-2017-7921; classtype:web-application-attack; sid:9472207; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /System/configurationFile
title: Hikvision Hikvision Cameras exploit attempt (CVE-2017-7921)
id: gg-pocmon-cve-2017-7921-9017097
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-7921. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-7921
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/System/configurationFile'
    cs-uri-query|contains|all:
      - 'auth=YWRtaW46MTEK'
      - 'auth='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.7921
GET /Security/users
title: Hikvision Hikvision Cameras exploit attempt (CVE-2017-7921)
id: gg-pocmon-cve-2017-7921-9056190
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-7921. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-7921
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/Security/users'
    cs-uri-query|contains|all:
      - 'auth=YWRtaW46MTEK'
      - 'auth=YWRtaW46c28xWVBx'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.7921
GET /onvif-http/snapshot
title: Hikvision Hikvision Cameras exploit attempt (CVE-2017-7921)
id: gg-pocmon-cve-2017-7921-9168267
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-7921. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-7921
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/onvif-http/snapshot'
    cs-uri-query|contains|all:
      - 'auth=YWRtaW46MTEK'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.7921
POST /RPC2_Login
title: Hikvision Hikvision Cameras exploit attempt (CVE-2017-7921)
id: gg-pocmon-cve-2017-7921-9837164
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-7921. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-7921
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/RPC2_Login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.7921
GET /PSIA/System/deviceinfo
title: Hikvision Hikvision Cameras exploit attempt (CVE-2017-7921)
id: gg-pocmon-cve-2017-7921-9472207
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-7921. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-7921
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/PSIA/System/deviceinfo'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.7921