Microsoft Office SharePoint XSS Vulnerability (CVE-2020-1177)
SharePoint Server failed to properly sanitise a specially crafted web request, creating a cross-site scripting flaw. An authenticated attacker could send such a request and run script in the security context of the current user, reading content they are not authorised to read or acting as the victim on the site.
Originally disclosed on Microsoft
Description
A cross-site-scripting (XSS) vulnerability exists when Microsoft SharePoint Server does not properly sanitize a specially crafted web request to an affected SharePoint server. An authenticated attacker could exploit the vulnerability by sending a specially crafted request to an affected SharePoint server. The attacker who successfully exploited the vulnerability could then perform cross-site scripting attacks on affected systems and run script in the security context of the current user. The 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 the SharePoint site on behalf of the user, such as change permissions and delete content, and inject malicious content in the browser of the user. The security update addresses the vulnerability by helping to ensure that SharePoint Server properly sanitizes web requests.
FAQ
Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.
Microsoft Office SharePoint
Microsoft Office SharePoint
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 server did not properly sanitise a specially crafted web request before reflecting or storing it in a page.
Impact
An authenticated attacker could run script in the victim's security context, potentially reading content they are not authorised to read, changing permissions, deleting content, or injecting malicious content into the user's browser.
What the attacker needed
An authenticated SharePoint account; victim views the crafted request
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 means a website takes input from a user and later shows it in a page without cleaning it, so the input can include script that the browser then runs. Here the attacker needs a SharePoint account and sends a crafted request; when the page is viewed, that script runs as the logged-in user. That lets the attacker read things or make changes as that person.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.