Skip to content
CSRF Advisory Intermediate CVE-2022-21987

Microsoft SharePoint Server Spoofing Vulnerability (CVE-2022-21987)

An authenticated SharePoint user with page-creation rights could craft a page that tricks other users into sending attacker-controlled requests to the server under the victim's permissions. This is a spoofing issue that requires the victim to be lured to the page and to use the crafted functionality.

malacupa Follow

Originally disclosed on Microsoft

High 8.0 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a target be lured to and make use of a specially crafted functionality on a SharePoint page created by the attacker. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to use the intended functionality.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? The attacker must be authenticated and possess the permissions for page creation to be able to exploit this vulnerability.

FAQ

What is the nature of the spoofing? An authenticated attacker could manipulate a SharePoint page they control to trick targeted users into sending attacker-controlled requests to the server under the permissions context of the target.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by malacupa. 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 page-building feature let an attacker embed functionality that caused victims' browsers to issue requests the server accepted in the victim's permission context, without properly separating attacker-supplied content from trusted page behaviour.

Impact

A victim who visits the crafted page and uses the intended functionality could have requests sent to the server on their behalf, under their own permissions; the text does not describe any further consequence.

What the attacker needed

An authenticated SharePoint account; permission to create pages; victim is lured to the crafted page; victim uses the crafted functionality

The fix

It should be fixed by updating SharePoint to a patched version, since the text only lists a customer action requirement without describing the change.

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 building team websites and pages. Here, someone who already has a login and is allowed to create pages could build a page that makes other people's browsers send requests the attacker chose, while the server treats those requests as coming from the victim. The victim has to be persuaded to open the page and use the feature, so it is not something that happens on its own.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

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 request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.