
Aplicação Golang multithread
CVE-2022-21907 - Double Free no driver http.sys.
Esta é uma aplicação Golang multithreading que permite fazer requisições em vários alvos simultaneamente.
Não é muito produtiva com requisições POST, mas oferece quase 30% de velocidade em comparação com um método linear.
Um atacante não autenticado pode enviar uma requisição HTTP com um cabeçalho "Accept-Encoding" HTTP, desencadeando um double free na lista de codificação desconhecida dentro do Protocol Stack HTTP (http.sys) para processar pacotes, resultando em uma falha do kernel.
Golang:
Golang:
1. git clone https://github.com/iveresk/cve-2022-21907.git
2. cd cve-2022-21907
3. go build cve-2022-21907.go -o /cve-2022-21907
4. chmod +x cve-2022-21907
5. ./cve-2022-21907 -t <targetURL> [or <targetFile>]
Docker Building Local:
1. git clone https://github.com/iveresk/cve-2022-21907.git
2. cd cve-2022-21907
3. nano input.txt [input here your target's IPs in the list]
4. docker build -t <tagName> . || docker build --build-arg INPUT_FILE=<default_target_filename> -t <tagName> .
[In Docker there is a default file named as "input.txt", but you may specify your own one]
5. docker run -it <tagName> || docker run -it -e INPUT_FILE=<target_filename> <tagName>
Docker Repository
docker pull masterrooot/cve-2022-21907:latest
docker run -it <tagName> || docker run -it -e INPUT_FILE=<target_filename> <tagName>
Windows Server 2019 e Windows 10 versão 1809:
Sinta-se à vontade para me contatar via Keybase para quaisquer detalhes.