Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2020-1460)
SharePoint Server failed to properly identify and filter unsafe ASP.NET web controls, allowing an authenticated attacker to create and invoke a specially crafted page. This could let the attacker perform actions in the security context of the SharePoint application pool process, potentially leading to remote code execution.
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
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 application did not properly validate or restrict which ASP.NET web controls could be used in user-created pages, allowing unsafe controls to execute server-side code.
Impact
An authenticated attacker could perform actions in the security context of the SharePoint application pool process, which may lead to remote code execution.
What the attacker needed
Authenticated SharePoint account; ability to create and invoke a page
The fix
The vulnerability was fixed by a security update that corrects how SharePoint Server handles processing of created content.
How it was found
- Have an authenticated account on the affected SharePoint Server.
- Create a specially crafted page containing unsafe web controls.
- Invoke the page so the server processes it.
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 sharing documents. It lets users add web controls, which are small building blocks for pages. The software did not check these controls properly, so someone with a normal account could build a page that ran harmful code on the server. The attacker would then act with the server's own permissions, which is serious.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.