Microsoft SharePoint Reflective XSS Vulnerability (CVE-2020-1454)
SharePoint Server failed to properly sanitise a specially crafted request, allowing an authenticated attacker to perform reflective cross-site scripting. An attacker could run script in the victim's browser to read unauthorised content, act as the victim, steal cookies, or inject malicious content.
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
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, SharePoint Server did not properly sanitise user-supplied input in a web request, allowing script to be reflected back to the victim's browser.
Impact
An attacker could read content they are not authorised to read, use the victim's identity to change permissions or delete content, steal sensitive information such as browser cookies, and inject malicious content in the victim's browser.
What the attacker needed
Authenticated attacker; victim clicks a specially crafted URL; victim uses SharePoint Web App site
How it was found
- An authenticated attacker sends a specially crafted request to an affected SharePoint server.
- The attacker sends an email or message containing a specially crafted URL to a user of the targeted SharePoint Web App site.
- The attacker convinces the user to click the specially crafted URL.
- The user's browser runs the attacker's script in the security context of the current user.
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 (XSS) is when a website lets an attacker sneak their own script into a page that other people view. Here, SharePoint did not clean up a request properly, so an attacker could make a link that runs their script when a logged-in user clicks it. That script could then do things as the user, like read private pages or steal login cookies.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.