Active Directory Federation Server Spoofing Vulnerability (CVE-2021-41361)
The ADFS logout redirect endpoint did not properly sanitise the post-logout redirect URI, allowing cross-site scripting. An attacker could exploit this to run script in the context of an application using the ADFS library.
Originally disclosed on Microsoft
FAQ
How could an attacker exploit this vulnerability? The ADFS (Active Directory Federation Services) services are vulnerable during the logout redirect request to cross-site scripting of the post logout redirect URI. An attacker who successfully exploited this vulnerability could leave an application using this ADFS library vulnerable to common XSS attacks.
Active Directory Federation Services
Active Directory Federation Services
Microsoft
Microsoft
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 post-logout redirect URI was reflected into the page without proper encoding or validation.
Impact
An attacker could execute script in the context of an application using the ADFS library, leading to common XSS attacks.
What the attacker needed
Victim clicks a crafted logout link
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.
Active Directory Federation Services (ADFS) is Microsoft's single sign-on system. When you log out, it sends you back to a web address you specify. This report says that address was not checked properly, so an attacker could make it contain malicious script that runs in the victim's browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.