Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2020-1069)
SharePoint Server failed to properly identify and filter unsafe ASP.Net web controls. An authenticated attacker could create and invoke a specially crafted page to perform actions in the security context of the SharePoint application pool process.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in Microsoft SharePoint Server when it fails to properly identify and filter unsafe ASP.Net web controls. An authenticated attacker who successfully exploited the vulnerability could use a specially crafted page to perform actions in the security context of the SharePoint application pool process. To exploit the vulnerability, an authenticated user must create and invoke a specially crafted page on an affected version of Microsoft SharePoint Server. The security update addresses the vulnerability by correcting how Microsoft SharePoint Server handles processing of created content.
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 did not properly validate or restrict which ASP.Net web controls a user could add to a page, allowing unsafe controls to run in the application pool's security context.
Impact
An authenticated attacker could perform actions with the privileges of the SharePoint application pool process, which may lead to remote code execution.
What the attacker needed
Authenticated SharePoint user; affected SharePoint Server version
The fix
The security update was released and corrects how SharePoint Server handles processing of created content.
How it was found
- Authenticate to an affected SharePoint Server.
- Create a specially crafted page containing unsafe web controls.
- Invoke the page to execute actions in the application pool's security context.
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 websites. It lets users add web controls, which are small building blocks that run code on the server. The server did not check these controls properly, so a logged-in user could make a page that ran with the server's own permissions.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.