Skip to content
RCE Advisory Advanced CVE-2024-38228

Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2024-38228)

An authenticated user with Site Owner permissions could upload a specially crafted file and send crafted API requests that caused the server to deserialise parameters from that file. This let the attacker run arbitrary code in the context of the SharePoint Server.

cjm00n Follow

Originally disclosed on Microsoft

High 7.2 View original

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

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.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by cjM00n & Edwardzpeng. 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 server deserialised parameters taken from an uploaded file without sufficiently restricting what those parameters could contain.

Impact

An authenticated attacker holding Site Owner permissions or higher could execute arbitrary code on the SharePoint Server, though the high privileges required limit who can attempt it.

What the attacker needed

Authenticated account; Site Owner permissions or higher

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 building internal sites. Deserialisation is when a program turns stored data back into live objects, and if an attacker controls that data they can sometimes make the program run their own code. Here, someone who already had a fairly privileged account on the site could upload a file and then get the server itself to execute their code.

What is RCE?

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

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.