CVE-2017-8700: Microsoft.AspNetCore.Mvc.Core Remote Code Execution Vulnerability
HIGHCVE-2017-8700 is a HIGH (CVSS 7.5) remote code execution vulnerability (General Security Weakness) affecting Microsoft.AspNetCore.Mvc.Core libraries in the NuGet ecosystem. The issue involves cross-origin resource sharing bypass in asp.net core. Remediation is available by upgrading affected packages to version 1.0.6, 1.1.6.
CVE-2017-8700 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2017-8700
To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.Mvc.Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Microsoft.AspNetCore.Mvc.Core to 1.0.6
Upgrade Microsoft.AspNetCore.Mvc.Core to 1.1.6
Upgrade Microsoft.AspNetCore.Mvc.Cors to 1.0.6
Upgrade Microsoft.AspNetCore.Mvc.Cors to 1.1.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Microsoft.AspNetCore.Mvc.Core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-8700, inspect your project dependencies for Microsoft.AspNetCore.Mvc.Core:
inspect dependencies for Microsoft.AspNetCore.Mvc.Core
Analyze the terminal output to locate any version of Microsoft.AspNetCore.Mvc.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Microsoft.AspNetCore.Mvc.Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-8700 Affected Microsoft.AspNetCore.Mvc.Core Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.AspNetCore.Mvc.Core
|
NuGet |
≥ 1.0.0
< 1.0.6
|
1.0.6
|
|
Microsoft.AspNetCore.Mvc.Core
|
NuGet |
≥ 1.1.0
< 1.1.6
|
1.1.6
|
|
Microsoft.AspNetCore.Mvc.Cors
|
NuGet |
≥ 1.0.0
< 1.0.6
|
1.0.6
|
|
Microsoft.AspNetCore.Mvc.Cors
|
NuGet |
≥ 1.1.0
< 1.1.6
|
1.1.6
|
References
Frequently Asked Questions
What is CVE-2017-8700?
Which Microsoft.AspNetCore.Mvc.Core versions are affected?
What version fixes CVE-2017-8700?
Is Microsoft.AspNetCore.Mvc.Core affected?
Is Microsoft.AspNetCore.Mvc.Cors affected?
What is the CVSS score of CVE-2017-8700?
What CWE is associated with CVE-2017-8700?
How can I check NuGet dependencies for CVE-2017-8700?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3rp6-rjw4-cq39",
"modified" : "2022-07-08T19:22:46Z",
"published" : "2022-05-13T01:47:40Z",
"aliases" : [ "CVE-2017-8700" ],
"summary" : "Cross-origin Resource Sharing bypass in ASP.NET Core",
"details" : "ASP.NET Core 1.0, 1.1, and 2.0 allow an attacker to bypass Cross-origin Resource Sharing (CORS) configurations and retrieve normally restricted content from a web application, aka \"ASP.NET Core Information Disclosure Vulnerability\".",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.Mvc.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.Mvc.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.Mvc.Cors"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.Mvc.Cors"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-8700"
}, {
"type" : "WEB",
"url" : "https://github.com/aspnet/Announcements/issues/279"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/issues/302"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8700"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-08T19:22:46Z",
"nvd_published_at" : "2017-11-15T03:29:00Z"
}
}