Proof of Concept: CVE-2022-21907 HTTP Protocol Stack Remote Code Execution Vulnerability
The report describes how the authors developed a denial-of-service module for CVE-2022-21907, a vulnerability in the Windows HTTP protocol stack (http.sys). They found that a malformed HTTP request missing the HTTP version string, combined with large chunked trailer requests, could crash the server due to an uninitialized memory issue.
coresecurity.com
Published on coresecurity.com
In this blogpost, we’ll briefly describe how we developed a DoS module for CVE-2022-21907. Instead of viewing it in a result-oriented way, we’ll approach it from a research standpoint, describing the process of developing this module for Core Impact.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an uninitialized memory chunk (MDL) in the http.sys driver that is not properly zeroed, leading to a crash when the malformed request is processed.
Impact
An unauthenticated attacker could crash the targeted server, causing a denial of service; the report notes that RCE is possible but hard and unstable, and requires an additional infoleak.
What the attacker needed
Unpatched Windows system with http.sys; network access to the target
The fix
Microsoft released a security update that patches the vulnerability; the report does not detail the fix but implies it involves initializing the memory properly.
How it was found
- Set up a vulnerable Windows machine with IIS.
- Send a GET request with TE: trailers and Transfer-Encoding: chunked, including large chunk sizes and data.
- Send a second malformed request missing the HTTP/1.1 version string.
- Repeat the requests until the server crashes.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is about a bug in a core Windows component that handles web traffic. An attacker can send a specially crafted request that causes the server to crash, making websites hosted on it unavailable. The bug is due to some memory not being properly initialised, which the malformed request triggers.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.