Microsoft SharePoint Reflective XSS Vulnerability (CVE-2020-16944)
SharePoint Server failed to properly sanitise a specially crafted request, allowing an authenticated attacker to perform reflected cross-site scripting. By getting a victim to click a crafted URL, the attacker could run script in the victim's security context, reading content, acting as the victim, or stealing 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.
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 reflected user-supplied input into a response without properly sanitising it, so the input was interpreted as script by the browser.
Impact
An attacker could read content they are not authorised to read, act as the victim on the site (for example changing permissions or deleting content), steal sensitive information such as browser cookies, and inject malicious content into the victim's browser; the victim must click a crafted URL.
What the attacker needed
Authenticated attacker; victim clicks a crafted URL; victim is logged in to SharePoint
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 bug means the site echoes something an attacker controls back into the page as code, so the victim's browser runs it as if SharePoint itself had written it. The attacker has to trick a logged-in user into clicking a link, and then the code runs with that user's permissions.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.