HTTP/2 Server Denial of Service Vulnerability (CVE-2019-9514)
A denial of service vulnerability exists in the HTTP/2 protocol stack (HTTP.sys) when it improperly parses specially crafted HTTP/2 requests. An unauthenticated attacker could send a crafted packet to make the target system unresponsive.
Originally disclosed on Microsoft
Description
A denial of service vulnerability exists in the HTTP/2 protocol stack (HTTP.sys) when HTTP.sys improperly parses specially crafted HTTP/2 requests. An attacker who successfully exploited the vulnerability could create a denial of service condition, causing the target system to become unresponsive. To exploit this vulnerability, an unauthenticated attacker could send a specially crafted HTTP packet to a target system, causing the affected system to become nonresponsive. The update addresses the vulnerability by modifying how the Windows HTTP protocol stack handles HTTP/2 requests. Note that the denial of service vulnerability would not allow an attacker to execute code or to elevate user rights.
FAQ
After I install the HTTP/2 updates, is there anything else I need to do to be protected from this vulnerability? Yes. The update adds configuration settings to the IIS server, but these settings are turned off by default. To be fully protected from the vulnerabilities, an administrator needs to configure their server to limit the number of HTTP/2 packets accepted. This can vary based on the environment and services running on each server. Note Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or view the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Connection-specific setting Click Start , click Run , type Regedit in the Open box, and then click OK . Locate and then click the following registry subkey: HKLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters Set DWORD type value Http2MaxPingsPerMinute : Range between 0 and 0xFF This sets the maximum number of pings per minute a client can send to the server Exit Registry Editor. Restart the computer. Stream-specific settings Click Start , click Run , type Regedit in the Open box, and then click OK . Locate and then click the following registry subkey: HKLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters Set DWORD type values for any of the following keys: Http2MaxServerResetsPerMinute Range between 0 and 0xFFFF This sets the maximum number of requests per minute from a client that can generate server reset frames Http2MaxPrioritiesPerStream Range between 0 and 0xFF This sets the maximum number of priority frames per minute a client can send to the server Http2MaxResetsPerStream Range between 0 and 0xFF This sets the maximum number of reset frames per minute a client can send to the server Http2MaxUnknownsPerStream Range between 0 and 0xFF This sets the maximum number of unknown frames per minute a client can send to the server Http2MaxWindowUpdatesPerSend Range between 0 and 0xFF This sets the maximum number of window update frames per minute a client can send to the server Http2MinimumSendWindowSize Range between 0 and 0xFFFF This sets the minimum send window size for data frames Exit Registry Editor. Restart the computer.
HTTP/2
HTTP/2
Microsoft
Microsoft
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the HTTP/2 stack does not properly limit or parse certain control frames, allowing a crafted request to exhaust server resources.
Impact
An unauthenticated attacker could cause the target system to become unresponsive, but the vulnerability would not allow code execution or privilege elevation.
What the attacker needed
Unauthenticated network access to target; target runs vulnerable Windows HTTP.sys
The fix
The update modifies how the Windows HTTP protocol stack handles HTTP/2 requests, and administrators must also configure registry settings to limit HTTP/2 packet rates.
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 report has not been written yet. The Original tab links to the source.
This is a denial of service bug: an attacker can send special network messages that make a server stop responding to normal users. The problem is in how Windows handles a web protocol called HTTP/2, which is used for loading web pages efficiently. The attacker does not gain access to data or run code; they just overwhelm or confuse the server.
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.