Skip to content
DoS Advisory Intermediate CVE-2018-0875

.NET Core Denial of Service Vulnerability (CVE-2018-0875)

A denial of service flaw existed in how .NET Core processed specially crafted requests, allowing a hash collision to occur. An attacker could send a small number of crafted requests to a .NET Core web application and degrade performance enough to cause a denial of service.

Ben Adams Follow

Originally disclosed on Microsoft

Description

A denial of service vulnerability exists in the way that .NET Core handles specially crafted requests, causing a hash collision. To exploit the vulnerability, an attacker could send a small number of specially crafted requests to an .NET Core web application, causing performance to degrade significantly enough to cause a denial of service condition. The security update addresses the vulnerability by correcting how .NET Core handles specially crafted requests to prevent a hash collision.

.NET Core

.NET Core

The original report as published on the Microsoft Security Response Center, by Ben Adams of Illyriad Games ​. 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 request-handling code used a hash table with a predictable hash function and no protection against many keys colliding in the same bucket.

Impact

A small number of crafted requests could degrade application performance enough to cause a denial of service.

What the attacker needed

Network access to a .NET Core web app

The fix

The vulnerability was fixed by a security update that corrects how .NET Core handles specially crafted requests to prevent a hash collision.

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.

A web server often stores incoming data in a lookup table so it can find things quickly. If many different inputs end up in the same slot of that table, the server has to check them one by one and slows down badly. Here an attacker could deliberately craft requests that all land in the same slot, so a few requests were enough to make the site unresponsive for everyone.

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.