Skip to content
XSS Advisory Intermediate CVE-2020-1055

Microsoft Active Directory Federation Services Cross-Site Scripting Vulnerability (CVE-2020-1055)

ADFS did not properly sanitise user inputs, allowing an unauthenticated attacker to send a crafted request that triggers cross-site scripting. Successful exploitation could let the attacker run scripts in the security context of the current user.

Steve Patches Follow

Originally disclosed on Microsoft

Description

A cross-site-scripting (XSS) vulnerability exists when Active Directory Federation Services (ADFS) does not properly sanitize user inputs. An un-authenticated attacker could exploit the vulnerability by sending a specially crafted request to an affected ADFS server. The attacker who successfully exploited the vulnerability could then perform cross-site scripting attacks on affected systems and run scripts in the security context of the current user. This security update addresses the vulnerability by ensuring that ADFS properly sanitizes user inputs.

Windows Active Directory

Windows Active Directory

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Steve Patches. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 ADFS failed to sanitise or encode user-supplied input before reflecting it in a response, allowing script injection.

Impact

An unauthenticated attacker could run scripts in the security context of the current user, though the text gives no further detail on what that would achieve.

What the attacker needed

Affected ADFS server; attacker sends crafted request

The fix

A security update was released that ensures ADFS properly sanitises user inputs.

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.

Cross-site scripting (XSS) is when a website shows attacker-supplied content as if it were part of the page, so the attacker's script runs in a victim's browser. Here, a login-related Microsoft server component failed to clean up input, so a crafted request could make it run script for whoever viewed the result. The attacker did not need an account to send the request.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.