Loading...
Skip to main content

CVE-2018-0787

HIGH

ASP.NET Core allow an elevation of privilege

Published October 16, 2018Updated November 8, 2023Source: osv

Summary

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".

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Microsoft.AspNetCore.Server.Kestrel.Core to 2.0.2 or later
dotnet add package Microsoft.AspNetCore.Server.Kestrel.Core --version 2.0.2
NuGet
Update Microsoft.AspNetCore.HttpOverrides to 2.0.2 or later
dotnet add package Microsoft.AspNetCore.HttpOverrides --version 2.0.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

PackageEcosystemAffectedFixed In
Microsoft.AspNetCore.Server.Kestrel.Core
nuget
2.0.0, 2.0.12.0.2
Microsoft.AspNetCore.HttpOverrides
nuget
2.0.0, 2.0.12.0.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2018-0787?
ASP.NET Core allow an elevation of privilege This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2018-0787?
CVE-2018-0787 affects Microsoft.AspNetCore.Server.Kestrel.Core and Microsoft.AspNetCore.HttpOverrides. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-0787 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-365p-96qv-xr7g

Related CVEs

  • CVE-2025-55315
    CRITICAL

    Microsoft Security Advisory CVE-2025-55315: .NET Security Feature Bypass Vulnerability

  • CVE-2021-1723
    HIGH

    ASP.NET Core and Visual Studio Denial of Service Vulnerability

  • CVE-2026-64679
    HIGH

    Atlantis Workspace Handling has Path Traversal that Allows Out-of-Bounds Directory Deletion/Creation

  • CVE-2026-54347
    HIGH

    Froxlor: Stored XSS in DNS TXT Record Content Allows Customer-to-Admin Account Takeover

  • CVE-2026-63135
    HIGH

    YOURLS has stored XSS in referrer statistics chart via crafted Referer header

  • CVE-2026-54178
    HIGH

    Laravel Backpack CRUD: Arbitrary file deletion via attacker-controlled clear_<attr>[] in HasUploadFields::uploadMultipleFilesToDisk

  • CVE-2026-54167
    HIGH

    Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header

  • CVE-2026-54182
    HIGH

    Laravel Backpack CRUD: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies