Skip to content
RCE Advisory Advanced CVE-2025-21348

Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2025-21348)

An authenticated attacker with Site Owner permissions could upload a specially crafted file and send crafted API requests to trigger deserialisation of the file's parameters, leading to remote code execution on the SharePoint Server. The vulnerability requires high privileges and is not exploitable via the Preview Pane.

zcgonvh Follow

Originally disclosed on Microsoft

High 7.2 View original

FAQ

There are multiple update packages available for some of the affected software. Do I need to install all the updates listed in the Security Updates table for the software? Yes. Customers should apply all updates offered for the software installed on their systems. If multiple updates apply, they can be installed in any order.

FAQ

According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? An authenticated attacker with Site Owner permissions can use the vulnerability to inject arbitrary code and execute this code in the context of SharePoint Server.

FAQ

How could an attacker exploit the vulnerability? An authenticated attacker with Site Owner permissions or higher could upload a specially crafted file to the targeted SharePoint Server and craft specialized API requests to trigger deserialization of file's parameters. This would enable the attacker to perform remote code execution in the context of the SharePoint Server.

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

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by zcgonvh. 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 unsafe deserialisation of file parameters supplied through API requests, allowing attacker-controlled data to be executed as code.

Impact

An authenticated attacker with Site Owner permissions could execute arbitrary code in the context of the SharePoint Server; the Preview Pane is not an attack vector.

What the attacker needed

Authenticated account; Site Owner permissions or higher

The fix

Microsoft released update packages for affected software; customers should apply all offered updates.

How it was found

  1. Obtain an account with Site Owner permissions or higher on the target SharePoint Server.
  2. Upload a specially crafted file to the targeted SharePoint Server.
  3. Craft specialised API requests that trigger deserialisation of the file's parameters.
  4. Achieve remote code execution in the context of the SharePoint Server.

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 user with fairly high permissions (Site Owner) could upload a file and then send special requests that make the server run the attacker's code. This means someone who already has a legitimate account with elevated rights could take over the server, but ordinary users or anonymous visitors cannot.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by zcgonvh

View all

13 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.