Skip to content
RCE Advisory Advanced CVE-2020-1595

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

SharePoint APIs did not properly protect against unsafe data input, allowing an attacker to run arbitrary code in the context of the application pool and farm account. Exploitation required a user to access a susceptible API with specially formatted input.

Markus Wulftange Follow

Originally disclosed on Microsoft

Critical 9.9 View original

Description

A remote code execution vulnerability exists in Microsoft SharePoint where APIs aren't properly protected from unsafe data input. 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 access a susceptible API on an affected version of SharePoint with specially-formatted input. The security update addresses the vulnerability by correcting how SharePoint handles deserialization of untrusted data.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Markus Wulftange (@mwulftange). 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 unsafe deserialization of untrusted data in SharePoint APIs.

Impact

An attacker could run arbitrary code with the permissions of the SharePoint application pool and farm account, but exploitation required a user to access a susceptible API with specially formatted input.

What the attacker needed

Affected SharePoint version; user accesses susceptible API; specially formatted input

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 team sites. This bug let someone send crafted data to a SharePoint web interface and have the server run their code, which is very serious because the code runs with the server's own permissions. The fix makes SharePoint handle untrusted data safely.

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 Markus Wulftange

View all

25 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.