CVE-2018-0787 ASP.NET Core allow an elevation of privilege

High 8.8 Published Updated

Attackers can elevate privileges by exploiting how template-based web applications validate requests in ASP.NET Core.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-0787?

CVE-2018-0787 is a high-severity vulnerability in Microsoft Corporation ASP.NET Core, published on 14 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

ASP.NET Core 1.0. 1.1, and 2.0 allow an elevation of privilege vulnerability due to how web applications that are created from templates validate web requests, aka "ASP.NET Core Elevation Of Privilege Vulnerability".

Weakness: CWE-640

Which versions are affected by CVE-2018-0787?

4 open source packages ship an affected version, including Microsoft.AspNetCore.HttpOverrides and Microsoft.AspNetCore.Server.Kestrel.Core. It affects 1 product.

PackageAffectedFixed in
Microsoft.AspNetCore.HttpOverrides NuGetFrom 2.0.02.0.2
Microsoft.AspNetCore.HttpOverrides NuGetFrom 2.0.02.0.2
Microsoft.AspNetCore.Server.Kestrel.Core NuGetFrom 2.0.02.0.2
Microsoft.AspNetCore.Server.Kestrel.Core NuGetFrom 2.0.02.0.2

Products include Microsoft Asp.net Core.

How do I fix CVE-2018-0787?

Upgrade Microsoft.AspNetCore.HttpOverrides to 2.0.2 or later.

Is CVE-2018-0787 being exploited?

There is no known exploitation of CVE-2018-0787 in the wild and no public exploit code.

Sources

Also known as GHSA-365p-96qv-xr7g.

Is CVE-2018-0787 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free