Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2022-30157)
An authenticated user with permission to create pages on a SharePoint server could craft a page containing specific code that leads to remote code execution on the server. The text does not describe the technical mechanism, only the required privilege and the outcome.
Originally disclosed on Microsoft
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
How could an attacker exploit this vulnerability? In a network-based attack an attacker would need to have the privileges to create a page on a vulnerable SharePoint server. By creating a site using specific code, the attacker could execute code remotely on the target 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
Impact
An authenticated user with page-creation rights could run code on the SharePoint server, which may compromise the server and data it hosts.
What the attacker needed
Authenticated account; permission to create pages
The fix
Microsoft addressed the flaw; the advisory lists customer action as required, so administrators should apply the vendor update.
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 internal websites and document libraries. A person with a normal account that is allowed to make new pages could put special content on a page that makes the server itself run their commands, rather than just showing text. That is dangerous because the server usually holds data for many users.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.