Skip to content
XSS Advisory Intermediate CVE-2020-1101

Microsoft Office SharePoint XSS Vulnerability (CVE-2020-1101)

SharePoint Server failed to properly sanitise a specially crafted web request, leaving it open to cross-site scripting. An authenticated attacker could send such a request and run script in the security context of the current user, potentially reading content they are not authorised to read or acting as the victim on the site.

Huynh Phuoc Hung Follow

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.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Huynh Phuoc Hung, @hph0var. 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 the server failed to sanitise or encode user-supplied input in a web request before reflecting it back into a page.

Impact

An attacker with an account could run script as the victim, read content they are not authorised to read, act as the user to change permissions or delete content, and inject malicious content into the victim's browser.

What the attacker needed

An authenticated account on SharePoint; victim interacts with 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, or XSS, is when a website takes input from a user and puts it into a page without cleaning it first, so the input is treated as code by the browser. Here SharePoint did not clean a crafted request, so an attacker who already had a login could get their script to run as another user. That script then acts with the victim's permissions, for example reading pages or changing settings the victim can reach.

What is XSS?

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

More by Huynh Phuoc Hung

View all

54 more disclosed reports, best first.

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.