Skip to content
RCE Advisory Advanced CVE-2019-1295

Microsoft SharePoint Remote Code Execution Vulnerability (CVE-2019-1295)

SharePoint APIs were not properly protected from 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 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.

FAQ

Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Markus Wulftange ( @mwulftange ) working with Trend Micro's Zero Day Initiative. 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

SharePoint did not properly protect APIs from unsafe data input and handled deserialization of untrusted data incorrectly.

Impact

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

What the attacker needed

Affected version of SharePoint; user accesses a 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.

This is a flaw in Microsoft SharePoint, a product used by organisations to share documents and collaborate. The software accepted data from users without checking it properly, and that data could be turned into instructions that the server would run. An attacker who could get a user to send such data to a vulnerable part of the system could then run their own code on the server.

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

1 more disclosed report, 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.