Skip to content
DoS Advisory Intermediate CVE-2023-36038

ASP.NET Core Denial of Service Vulnerability (CVE-2023-36038)

Cancelled HTTP requests to ASP.NET Core on IIS in-process hosting caused thread counts to rise, potentially leading to an OutOfMemoryException. An attacker could exploit this to cause a denial of service, resulting in total loss of availability.

Barry Dorans Follow

Originally disclosed on Microsoft

High 8.2 View original

FAQ

How could an attacker exploit this vulnerability? This vulnerability could be exploited if http requests to .NET 8 RC 1 running on IIS InProcess hosting model are cancelled. Threads counts would increase and an OutOfMemoryException is possible.

FAQ

According to the CVSS metric, successful exploitation of this vulnerability could lead to a total loss of availability (A:H). What does that mean for this vulnerability? If an attacker was able to successfully exploit the vulnerability the attack might result in a total loss of availability.

ASP.NET Core

ASP.NET Core

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Barry Dorans. 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 cancelled requests under IIS in-process hosting caused threads to accumulate without being released, exhausting memory.

Impact

Successful exploitation could result in a total loss of availability, meaning the service becomes unavailable.

What the attacker needed

ASP.NET Core on IIS in-process hosting; ability to send and cancel HTTP requests

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 make a web server run out of memory so it stops working for everyone. The problem happens when many web requests are cancelled while the application runs in a particular hosting mode on Microsoft's IIS web server. The fix is to update the affected software.

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.