cbcvebase.
CVE-2020-16952
published 2020-10-16

CVE-2020-16952: A remote code execution vulnerability exists in Microsoft SharePoint when the software fails to check the source markup of an application package. An attacker…

PriorityP266high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EXPLOIT
EPSS
70.89%
99.3th percentile
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.

Affected

9 ranges
VendorProductVersion rangeFixed in
microsoftmicrosoft_sharepoint_enterprise_server_2016>= 16.0.0 < publicationpublication
microsoftmicrosoft_sharepoint_foundation_2013_service_pack_1>= 15.0.0 < publicationpublication
microsoftmicrosoft_sharepoint_server_2019>= 16.0.0 < publicationpublication
microsoftsharepoint_enterprise_server
microsoftsharepoint_foundation
microsoftsharepoint_server
msrcmicrosoft_sharepoint_enterprise_server_2016
msrcmicrosoft_sharepoint_foundation_2013_service_pack_1
msrcmicrosoft_sharepoint_server_2019

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://srcincite.io/pocs/cve-2020-16952.py.txt
urlhttps://github.com/rapid7/metasploit-framework/blob/1a341ae93191ac5f6d8a9603aebb6b3a1f65f107/documentation/modules/exploit/windows/http/sharepoint_ssi_viewstate.md
snort
SID 55942
snort
SID 55943
snort
SID 55979
snort
SID 55980
snort
SID 55982
snort
SID 55983
snort
SID 55984
snort
SID 55989
snort
SID 55990
snort
SID 55993
snort
SID 55994
  • Detect vulnerable SharePoint versions via the MicrosoftSharePointTeamServices HTTP response header matching versions 15.0.0.(4571|5275|4351|5056) or 16.0.0.(10337|10364|10366)
  • The exploit chain uses a server-side include (SSI) to leak the web.config file and then forges a malicious ViewState using the extracted validation key — monitor for unusual SSI requests and ViewState deserialization activity on SharePoint HTTP endpoints
  • Exploitation requires an authenticated user with page creation privileges uploading a specially crafted SharePoint application package — alert on application package uploads by low-privileged or guest accounts
  • Exploitation results in code execution in the context of the SharePoint application pool and farm account — monitor for anomalous process spawning from SharePoint worker processes (w3wp.exe)
  • ·The Metasploit module was tested against a specific environment; confirm applicability before deploying
  • ·The VALIDATION_KEY option can be set to skip the SSI stage and go directly to ViewState deserialization if the key is already known
  • ·The Talos Snort rule set covers multiple October 2020 Patch Tuesday CVEs, not exclusively CVE-2020-16952; confirm which SIDs specifically target SharePoint SSI/ViewState exploitation

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
vendor_msrc8.6HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.