Vulnerability record · CVE-2020-16952 · published 16 October 2020
CVE-2020-16952: Microsoft SharePoint application package markup validation RCE
Microsoft · Sharepoint Enterprise Server
SharePoint fails to validate the source markup of an uploaded application package, allowing crafted packages to execute code. Successful exploitation runs arbitrary code as the SharePoint application pool and farm account, so a single upload can compromise the whole farm.
Description
<p>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.</p> <p>Exploitation of this vulnerability requires that a user uploads a specially crafted SharePoint application package to an affected version of SharePoint.</p> <p>The security update addresses the vulnerability by correcting how SharePoint checks the source markup of application packages.</p>
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Automated analysis
high priorityRemote code execution with a high EPSS score and public exploit references, though not in KEV and requiring package upload.
What it is
SharePoint fails to validate the source markup of an uploaded application package, allowing crafted packages to execute code. Successful exploitation runs arbitrary code as the SharePoint application pool and farm account, so a single upload can compromise the whole farm.
Impact
An attacker gains arbitrary code execution in the context of the SharePoint application pool and server farm account, effectively taking over the SharePoint deployment and its data.
Attack surface
Reached over the network via SharePoint package upload; the CVSS vector shows no privileges or user interaction required, though the description states a user must upload the crafted package.
Exploitation
Not listed in CISA KEV, but EPSS is 0.71 (99th percentile) and public exploit references exist, indicating high likelihood of exploitation.
What to do
- Apply the Microsoft security update that corrects application package markup validation.
- Restrict who can upload or deploy SharePoint application packages and review existing packages.
- Run the SharePoint application pool and farm account with least privilege to limit post-exploitation reach.
- Monitor and alert on unexpected package uploads and subsequent process creation by SharePoint worker processes.
Detection
- Audit SharePoint logs for application package uploads and deployments, especially from non-admin accounts.
- Monitor for suspicious child processes spawned by w3wp.exe or SharePoint timer services.
- Alert on new or modified files in SharePoint solution/package directories.
- Correlate package upload events with outbound network connections from SharePoint servers.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/159612/Microsoft-SharePoint-SSI-ViewState-Remote-Code-Execution.html | ExploitThird Party Advisory |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-16952 | PatchVendor Advisory |
| http://packetstormsecurity.com/files/159612/Microsoft-SharePoint-SSI-ViewState-Remote-Code-Execution.html | ExploitThird Party Advisory |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-16952 | PatchVendor Advisory |
Track CVE-2020-16952 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-16952), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.