Microsoft SharePoint Remote Code Execution Vulnerability (CVE-2020-0931)
SharePoint failed to check the source markup of an application package, so a crafted package could run arbitrary code under the SharePoint application pool and farm account. Exploitation required a user to upload the specially crafted package to an affected SharePoint version.
Anonymous working with Trend Micro's Zero Day Initiative Follow
Originally disclosed on Microsoft
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.
FAQ
Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.
Microsoft Office
Microsoft Office
Issuing CNA
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 package import process did not properly validate the source markup of the package before trusting and executing it.
Impact
An attacker could run arbitrary code in the context of the SharePoint application pool and the SharePoint server farm account, but only if a user uploaded the crafted package.
What the attacker needed
Affected SharePoint version; user uploads crafted package
The fix
The vulnerability was fixed by a security update that corrects 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 team sites. It lets people upload 'application packages' that add features, and it is supposed to inspect what is inside them before use. Here it did not inspect them properly, so a malicious package could run the attacker's code on the server with the site'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.