CVE-2018-0787 ASP.NET Core allow an elevation of privilege
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.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.AspNetCore.HttpOverrides NuGet | From 2.0.0 | 2.0.2 |
Microsoft.AspNetCore.HttpOverrides NuGet | From 2.0.0 | 2.0.2 |
Microsoft.AspNetCore.Server.Kestrel.Core NuGet | From 2.0.0 | 2.0.2 |
Microsoft.AspNetCore.Server.Kestrel.Core NuGet | From 2.0.0 | 2.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.
Other vulnerabilities in Microsoft Corporation ASP.NET Core
- CVE-2025-55315 ASP.NET Security Feature Bypass Vulnerability
- CVE-2026-88092 ASP.NET Core Tampering Vulnerability
- CVE-2026-40372 ASP.NET Core Elevation of Privilege Vulnerability
- CVE-2021-43877 ASP.NET Core and Visual Studio Elevation of Privilege Vulnerability
- CVE-2020-0603 Remote code execution in ASP.NET Core
Sources
Also known as GHSA-365p-96qv-xr7g.