Skip to content
RCE Advisory Advanced CVE-2020-1452

Microsoft SharePoint Remote Code Execution Vulnerability (CVE-2020-1452)

SharePoint failed to check the source markup of an application package, allowing an attacker who uploads a crafted package to run arbitrary code as the SharePoint application pool and farm account. The security update corrects how SharePoint checks the source markup.

Oleksandr Mirosh Follow

Originally disclosed on Microsoft

Critical 8.6 View original

Description

A remote code execution vulnerability exists in Microsoft SharePoint when the software fails to check the source markup of an application package. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the SharePoint application pool and the SharePoint server farm account. Exploitation of this vulnerability requires that a user uploads a specially crafted SharePoint application package to an affected version of SharePoint. The security update addresses the vulnerability by correcting how SharePoint checks the source markup of application packages.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

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, SharePoint did not validate the source markup of uploaded application packages, allowing malicious markup to be processed and executed.

Impact

An attacker could run arbitrary code in the context of the SharePoint application pool and the SharePoint server farm account, but exploitation requires a user to upload a specially crafted package.

What the attacker needed

User uploads a crafted SharePoint package; affected SharePoint version

The fix

The security update addresses the vulnerability by correcting how SharePoint checks the source markup of application packages.

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 upload 'application packages' (bundles of files that add features). The software did not properly inspect what was inside these packages, so a malicious package could run harmful code on the server with high privileges. The fix makes SharePoint check the package contents properly.

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.