ASP.NET Core Elevation Of Privilege Vulnerability (CVE-2018-0784)
ASP.NET Core web applications created from vulnerable project templates failed to properly sanitise web requests, allowing content injection. An attacker could send a crafted link to a user, and if clicked, run script in the user's security context.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists when a ASP.NET Core web application, created using vulnerable project templates, fails to properly sanitize web requests. An attacker who successfully exploited this vulnerability could perform content injection attacks and run script in the security context of the logged-on user. To exploit the vulnerability, an attacker could send a specially crafted email, containing a malicious link, to a user. Alternatively, an attacker could use a chat client to social engineer a user into clicking the malicious link. However, in all cases to exploit this vulnerability a user must click a maliciously crafted link from an attacker. The security update addresses the vulnerability by correcting the ASP.NET Core project templates.
ASP .NET
ASP .NET
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the vulnerable project templates failed to properly sanitise web requests, leading to content injection.
Impact
An attacker could perform content injection attacks and run script in the security context of the logged-on user, but the victim must click a maliciously crafted link.
What the attacker needed
Victim clicks a malicious link
The fix
The vulnerability was fixed by correcting the ASP.NET Core project templates.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some starter templates for building web apps with ASP.NET Core did not clean up incoming web requests properly. That meant a malicious link could make the app run harmful code in the victim's browser, as if the victim had run it themselves. The fix was to correct those templates.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.