Microsoft SharePoint Remote Code Execution Vulnerability (CVE-2020-1453)
SharePoint failed to check the source markup of an application package, so a crafted package could run arbitrary code. An attacker who got such a package uploaded could execute code as the application pool and farm account.
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.
Microsoft Office SharePoint
Microsoft Office SharePoint
Microsoft
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 package installation routine trusted the package's declared markup and did not validate its actual source markup before processing it.
Impact
An attacker could run arbitrary code with the privileges of the SharePoint application pool and the server farm account, though exploitation requires a user to upload the crafted package.
What the attacker needed
SharePoint with the vulnerable package handling; a crafted application package is uploaded
The fix
The security update was released and fixes the issue 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 Microsoft's tool for sharing documents and building internal sites. It lets people install 'application packages', which are bundles of files and code that add features. Here it did not properly inspect what was inside a package before using it, so a malicious package could run the attacker's 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.