Microsoft SharePoint Reflective XSS Vulnerability (CVE-2020-0891)
SharePoint Server failed to properly sanitise a specially crafted request, allowing an authenticated attacker to perform reflected cross-site scripting. A successful attacker could read content they are not authorised to read, act as the victim on the site, and steal sensitive information such as browser cookies.
Originally disclosed on Microsoft
Description
This vulnerability is caused when SharePoint Server does not properly sanitize a specially crafted request to an affected SharePoint server. An authenticated attacker could exploit this vulnerability by sending a specially crafted request to an affected SharePoint server. The attacker who successfully exploited this 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 victim, such as change permissions, delete content, steal sensitive information (such as browser cookies) and inject malicious content in the browser of the victim. For this vulnerability to be exploited, a user must click a specially crafted URL that takes the user to a targeted SharePoint Web App site. In an email attack scenario, an attacker could exploit the vulnerability by sending an email message containing the specially crafted URL to the user of the targeted SharePoint Web App site and convincing the user to click the specially crafted URL. In a web-based attack scenario, an attacker would have to host a website that contains a specially crafted URL to the targeted SharePoint Web App site that is used to attempt to exploit these vulnerabilities. In addition, compromised websites and websites that accept or host user-provided content could contain specially crafted content that could exploit the vulnerability. An attacker would have no way to force users to visit a specially crafted website. Instead, an attacker would have to convince them to visit the website, typically by getting them to click a link in an instant messenger or email message that takes them to the attacker's website, and then convince them to click the specially crafted URL. The security update addresses the vulnerability by helping to ensure that SharePoint Server properly sanitizes user 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
Issuing CNA
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 echoed part of a user-supplied request back into a page without properly sanitising it, so script supplied in the request ran in the victim's browser.
Impact
An attacker could run script in the victim's security context, potentially reading unauthorised content, changing permissions, deleting content, stealing cookies and injecting malicious content, though the victim must click a crafted URL.
What the attacker needed
Authenticated attacker; victim clicks a crafted URL
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 a Microsoft product for sharing documents and team sites. A cross-site scripting flaw means the site can be tricked into running attacker-supplied script in a victim's browser, so the script acts with the victim's logged-in permissions. Here the attacker needs to be logged in themselves and must get the victim to click a crafted link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.