Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2021-31166 PoC — HTTP Protocol Stack Remote Code Execution Vulnerability

Source
Associated Vulnerability
Title:HTTP Protocol Stack Remote Code Execution Vulnerability (CVE-2021-31166)
Description:HTTP Protocol Stack Remote Code Execution Vulnerability
Description
Exploit for MS Http Protocol Stack RCE vulnerability (CVE-2021-31166)
Readme
# CVE-2021-31166-Exploit
Exploit for MS Http Protocol Stack RCE vulnerability (CVE-2021-31166)

A specially crafted Http request targetting a vulnerable windows version will result into DOS attack. And the server will be rebooted with blue screen error.
Http.sys is a windows kernel driver responsible for handling http requests and crafting a response for those.
This vulnerable http.sys driver can't handle crafted "Accept-Encoding" header, and gets crashed. Resultantly, the server will reboot.
On the blue screen, we can see error with "Stop Code: KERNEL SECURITY CHECK FAILED"
This is a critical vulnerability with CVSS 9.8, easy to exploit.

Vulnerable windows versions:
Windows 10, and Windows Server 2016 (20h2 and 2004 releases for both)

More Ref:

https://nvd.nist.gov/vuln/detail/CVE-2021-31166

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-31166
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →