Skip to content
XSS Advisory Intermediate CVE-2017-0107

Microsoft SharePoint Elevation of Privilege Vulnerability (CVE-2017-0107)

SharePoint Server did not properly sanitise a specially crafted web request, allowing an authenticated attacker to carry out cross-site scripting. A successful attacker could read content they were not authorised to read, act as the victim on the site, and inject malicious content into the victim's browser.

Cheah Khai Ee Follow

Originally disclosed on Microsoft

Description

An elevation of privilege 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. 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 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

Microsoft Office

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Cheah Khai Ee ( @MercurialSec ). 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 a crafted web request, letting attacker-supplied script reach other users' browsers.

Impact

An authenticated attacker could run script in the victim's security context, potentially reading unauthorised content, changing permissions, deleting content and injecting malicious content into the victim's browser.

What the attacker needed

Authenticated SharePoint account; victim loads 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.

SharePoint is Microsoft's product for building internal websites and document stores. The site failed to clean up some input sent to it, so an attacker could slip their own script into a page that other users then load. When that script runs in a victim's browser, it acts with the victim's permissions, which is why the attacker can read or change things they should not.

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.