Skip to content
DoS Advisory Intermediate CVE-2019-9518

HTTP/2 Server Denial of Service Vulnerability (CVE-2019-9518)

The Windows HTTP/2 protocol stack (HTTP.sys) mishandles specially crafted HTTP/2 requests, which can make the target system unresponsive. An unauthenticated attacker could send such a packet to cause a denial of service, but cannot execute code or elevate privileges.

Piotr Sikora Follow

Originally disclosed on Microsoft

High 7.5 View original

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

The original report as published on the Microsoft Security Response Center, by Piotr Sikora of Google, Envoy Security Team. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.sys HTTP/2 parser does not properly limit or handle certain crafted frames, letting a client exhaust server resources.

Impact

An unauthenticated attacker could make the target system unresponsive, but the flaw does not allow code execution or privilege escalation.

What the attacker needed

Network access to the HTTP/2 service; no authentication needed

The fix

The update modifies how the Windows HTTP protocol stack handles HTTP/2 requests, but administrators must also enable the new registry settings that limit HTTP/2 packets, since they are off by default.

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.

HTTP/2 is a newer version of the protocol browsers and servers use to talk to each other. A denial of service means making a service stop responding to real users, usually by sending it traffic it cannot handle. Here, a malformed request could tie up the Windows web server so it stops answering, but the attacker gains no access to data or code.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.