Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2024-38227)
An authenticated attacker holding Site Owner permissions could upload a specially crafted file and send crafted API requests that trigger deserialisation of the file's parameters. This allowed 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.
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.
Microsoft Office SharePoint
Microsoft Office SharePoint
Microsoft
Microsoft
Customer Action Required
Yes
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 attacker-controlled parameters from an uploaded file without adequate validation or type restrictions.
Impact
An attacker with Site Owner permissions could execute arbitrary code in the context of the SharePoint Server, though the high privileges required limit who can attempt it.
What the attacker needed
Authenticated account; Site Owner permissions or higher
The fix
It should be fixed by installing Microsoft's update for this CVE, which the advisory marks as required customer action.
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. 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 already trusted with a site-owner account could upload a rigged file and get the server to run code for them.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.