Skip to content
RCE Advisory Advanced CVE-2020-1069

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.

Oleksandr Mirosh Follow

Originally disclosed on Microsoft

Critical View original

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

The original report as published on the Microsoft Security Response Center, by Oleksandr Mirosh (@olekmirosh) from Micro Focus Fortify. 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 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

  1. Authenticate to an affected SharePoint Server.
  2. Create a specially crafted page containing unsafe web controls.
  3. 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.

More by Oleksandr Mirosh

View all

10 more disclosed reports, best first.

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.