{"answers":{"affected":"4 open source packages ship an affected version, including Microsoft.AspNetCore.HttpOverrides and Microsoft.AspNetCore.Server.Kestrel.Core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-0787 in the wild and no public exploit code.","fix":"Upgrade Microsoft.AspNetCore.HttpOverrides to 2.0.2 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2018-0787 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2018-0787 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.AspNetCore.HttpOverrides (NuGet): affected from 2.0.0; fixed in 2.0.2\n- Microsoft.AspNetCore.HttpOverrides (NuGet): affected from 2.0.0; fixed in 2.0.2\n- Microsoft.AspNetCore.Server.Kestrel.Core (NuGet): affected from 2.0.0; fixed in 2.0.2\n- Microsoft.AspNetCore.Server.Kestrel.Core (NuGet): affected from 2.0.0; fixed in 2.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-0787/ (Markdown: https://insights.sbomify.com/CVE-2018-0787/index.md)","id":"CVE-2018-0787","markdown":"https://insights.sbomify.com/CVE-2018-0787/index.md","name":"CVE-2018-0787","record":{"aliases":["GHSA-365p-96qv-xr7g"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"ASP.NET Core framework","requires_auth":"none","summary":"Attackers can elevate privileges by exploiting how template-based web applications validate requests in ASP.NET Core.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"asp.net_core","vendor":"microsoft"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password"}],"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\".","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ASP.NET Core allow an elevation of privilege","id":"CVE-2018-0787","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"privilege_escalation","year":"2018"},"n_packages":4,"n_references":4,"next":{"headline":"Use after free in Windows Adobe Type Manager Font Driver (Atmfd.dll)","id":"CVE-2018-0788"},"packages":[{"ecosystem":"NuGet","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.HttpOverrides","purl":null,"source":"GHSA-365p-96qv-xr7g"},{"ecosystem":"NuGet","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.HttpOverrides","purl":"pkg:nuget/Microsoft.AspNetCore.HttpOverrides","source":"GHSA-365p-96qv-xr7g"},{"ecosystem":"NuGet","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Server.Kestrel.Core","purl":null,"source":"GHSA-365p-96qv-xr7g"},{"ecosystem":"NuGet","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Server.Kestrel.Core","purl":"pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Core","source":"GHSA-365p-96qv-xr7g"}],"prev":{"headline":"Improper Certificate Validation in Microsoft .NET Framework components","id":"CVE-2018-0786"},"products":["ASP.NET Core"],"published":"2018-03-14","related":[{"cvss_score":9.9,"headline":"ASP.NET Security Feature Bypass Vulnerability","id":"CVE-2025-55315","kev_date_added":null,"published":"2025-10-14"},{"cvss_score":9.4,"headline":"ASP.NET Core Tampering Vulnerability","id":"CVE-2026-88092","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":9.1,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-40372","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"ASP.NET Core and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2021-43877","kev_date_added":null,"published":"2021-12-15"},{"cvss_score":8.8,"headline":"Remote code execution in ASP.NET Core","id":"CVE-2020-0603","kev_date_added":null,"published":"2020-01-14"},{"cvss_score":8.8,"headline":"Elevation of privilege in ASP.NET Core","id":"CVE-2019-1302","kev_date_added":null,"published":"2019-09-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Microsoft Corporation"]},"summary":"Attackers can elevate privileges by exploiting how template-based web applications validate requests in ASP.NET Core.","url":"https://insights.sbomify.com/CVE-2018-0787/"}