HTTP/2 CONTINUATION Flood: Technical Details
A class of HTTP/2 vulnerabilities where a client sends HEADERS and CONTINUATION frames without ever setting the END_HEADERS flag, causing servers to keep parsing and storing headers indefinitely. An attacker could exhaust CPU or memory, crash the server, or cause severe performance degradation, often with a single TCP connection.
Published on nowotarski.info
In October 2023 I learned about HTTP/2 Rapid Reset attack, dubbed “the largest DDoS attack to date”. I didn’t have deep knowledge of HTTP/2 back then.
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 missing or incorrect enforcement of header size limits and timeouts for CONTINUATION frames, allowing an endless stream of headers to be processed.
Impact
A single machine, or even a single TCP connection, could crash or severely degrade server availability, and the attack requests are not visible in HTTP access logs.
What the attacker needed
Ability to send HTTP/2 frames; no authentication required
The fix
Implementations should enforce header list size limits and header timeouts for CONTINUATION frames, and handle disconnections during header streams safely.
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.
HTTP/2 is a version of the protocol that web browsers and servers use to talk to each other. It breaks messages into small pieces called frames. A client can send a series of header frames without ever saying 'I'm done', so the server keeps waiting and using up memory or processing power until it crashes or slows down.
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.