
CVE-2018-9995_Batch_scanning_exp
Script de varredura em lote para dvr da vulnerabilidade CVE-2018-9995
python3, ubuntu
user@ubuntu:~$ sudo pip3 install grequests
user@ubuntu:~$ sudo pip3 install tableprint
Armazene os dispositivos a serem escaneados no formato "ip:porta" na primeira coluna do arquivo CSV.
csv_file = csv.reader(open('66b2f74b75457f73347f6a840bebc339.csv','r'))
Altere o diretório do arquivo de lista de dispositivos acima para o diretório de uso atual.
user@ubuntu:~$ sudo python3 CVE-2018-9995_Batch_scanning_exp.py
Execute o programa
-----------------------------------501-------------------------------------------------------------
-----------------------------------501-------------------------------------------------------------
-----------------------------------501-------------------------------------------------------------
-----------------------------------NO.1-------------------------------------------------------------
[+] Users List: 1
[+] Users List: 1
[+] Users List: 1
[+] Users List: 1
[+] Users List: 1
[+] Users List: 1
[+] Users List: 2
[+] Users List: 1
A cada 501 IPs há uma saída; "NO" indica o número da rodada, e "[+] Users List:" indica o número de usuários contidos no dispositivo que explorou com sucesso a vulnerabilidade.
A saída é um arquivo CSV chamado pass.csv
--------+-----+----+-------+----.......
ip:port |uid1 |pwd1 |role1 |uid2.......
--------+-----+----+-------+----.......
| | | | .......
| | | | .......
1. 解决了部分设备401错误无法返回信息的问题(Solved the problem that part of the equipment 401 error can not return information.)
2. 解决了部分设备返回json格式不正确问题(The problem of incorrect JSON format for some devices is solved.)
3. 采用异步http请求,极大提高了扫描效率(Using asynchronous HTTP request greatly improves scanning efficiency.)
1. 从各大web设备搜索引擎查询的结果上看本次漏洞设计的设备约有50000台,目前凡是有连接响应的设备均可利用该漏洞获取登录账户明文信息。
1.There are about 50000 devices designed for this vulnerability from the results of the search engine query for web equipment. At present, any device with connection response can take advantage of the vulnerability to obtain information on the login account.
2. 墙内扫描仅有6000多台设备有响应
2.There are only more than 6000 devices in response to the scan in china
3. 漏洞利用危害没有预期的那么严重,仅仅是视屏流获取权限,进一步对设备系统的控制权的获取还有待研究
3.The harm of vulnerability is not as serious as expected. It is only the right of access to the screen. Further access to control of the device system remains to be studied.
4. 弱口令真的多,扫描结果的80%均采用了弱口令。
4.There are many weak passwords, and 80% of the scan results use weak passwords.
A lista de dispositivos vulneráveis fica por conta da sua habilidade; pensando um pouco mais, é fácil obtê-la. Divirta-se! XD