CVE-2017-0256 Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc
Attackers can spoof web requests due to improper sanitization in ASP.NET Core, potentially bypassing security controls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-0256?
CVE-2017-0256 is a medium-severity cross-site scripting vulnerability in Microsoft Corporation ASP.NET Core, published on 12 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A spoofing vulnerability exists when the ASP.NET Core fails to properly sanitize web requests.
Weakness: CWE-20
Which versions are affected by CVE-2017-0256?
40 open source packages ship an affected version, including Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.Mvc.Abstractions and Microsoft.AspNetCore.Mvc.ApiExplorer. It affects 18 products.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.AspNetCore.Mvc NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Abstractions NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Abstractions NuGet | From 1.0.0 | 1.0.4 |
34 more packages
Microsoft.AspNetCore.Mvc.Abstractions NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Abstractions NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.ApiExplorer NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.ApiExplorer NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.ApiExplorer NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.ApiExplorer NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Core NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Core NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Core NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Core NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Cors NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Cors NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Cors NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Cors NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.DataAnnotations NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.DataAnnotations NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.DataAnnotations NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.DataAnnotations NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Formatters.Json NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Formatters.Json NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Formatters.Json NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Formatters.Json NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Formatters.Xml NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Localization NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Localization NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Localization NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Localization NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Razor NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Razor NuGet | From 1.0.0 | 1.0.4 |
Microsoft.AspNetCore.Mvc.Razor NuGet | From 1.1.0 | 1.1.3 |
Microsoft.AspNetCore.Mvc.Razor NuGet | From 1.1.0 | 1.1.3 |
Products include Microsoft Asp.net Model View Controller, Microsoft Microsoft.aspnetcore.mvc.abstractions, Microsoft Microsoft.aspnetcore.mvc.apiexplorer, Microsoft Microsoft.aspnetcore.mvc.cors, Microsoft Microsoft.aspnetcore.mvc.dataannotations, Microsoft Microsoft.aspnetcore.mvc.formatters.json and 12 more.
How do I fix CVE-2017-0256?
Upgrade Microsoft.AspNetCore.Mvc to a fixed version for your release line: 1.0.4 or 1.1.3.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-0256 being exploited?
There is no known exploitation of CVE-2017-0256 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Corporation ASP.NET Core
Sources
Also known as ECHO-9424-2651-8ae8, GHSA-j8f4-2w4p-mhjc.