Microsoft IIS Server XSS Elevation of Privilege Vulnerability (CVE-2017-0055)
Microsoft IIS Server failed to properly sanitise a specially crafted request, which allowed reflected cross-site scripting. An attacker could convince a victim to click a crafted URL and then run script in that user's security context, reading content and acting as the victim.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists when Microsoft IIS Server fails to properly sanitize a specially crafted request. An attacker who successfully exploited this vulnerability could then perform cross-site scripting attacks on affected systems and run script in the security context of the current user. These attacks could allow the attacker to read content that the attacker is not authorized to read, use the victim's identity to take actions on behalf of the victim, and inject malicious content in the victim’s browser. For this vulnerability to be exploited, a user must click a specially crafted URL. In an email attack scenario, an attacker could exploit the vulnerability by sending an email message containing the specially crafted URL to the user and by convincing the user to click on the specially crafted URL. In a web-based attack scenario, an attacker would have to host a website that contains a specially crafted URL. In addition, compromised websites and websites that accept or host user-provided content could contain specially crafted content that could exploit this vulnerability. An attacker would have no way to force users to visit a specially crafted website. Instead, an attacker would have to convince users to visit the website, typically by getting them to click a link in an email or instant message that directs them to the affected website by way of a specially crafted URL. The security update addresses the vulnerability by correcting how Microsoft IIS Server sanitizes web requests.
Windows IIS
Windows IIS
Microsoft
Microsoft
Customer Action Required
Yes
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 server reflected user-controlled request data into its response without proper output encoding or sanitisation.
Impact
An attacker could run script in the victim's browser context, reading content they are not authorised to read, acting as the victim, and injecting malicious content; the victim must click a crafted URL.
What the attacker needed
Victim clicks a crafted URL
The fix
The security update fixes it by correcting how IIS sanitises web requests.
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.
A web server (IIS) took part of an incoming web address and put it into the page it sent back without cleaning it first. That let an attacker hide instructions (script) in a link, so when someone clicked it, the victim's own browser ran the attacker's code as if it came from the trusted site. The attacker still needed the victim to click the link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.