CVE-2021-31181
Microsoft SharePoint Remote Code Execution Vulnerability
Description
Microsoft SharePoint Remote Code Execution Vulnerability
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 29.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.1% of all scored CVEs. Scores of 2 Dec 2026.
The assessment of CISA (SSVC, 28 Feb 2025):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-94 Improper Control of Generation of Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Microsoft SharePoint Enterprise Server 2016 |
affected from 16.0.0, before 16.0.5161.1000
|
| Microsoft SharePoint Server 2019 |
affected from 16.0.0, before 16.0.10374.20000
|
| Microsoft SharePoint Foundation 2013 Service Pack 1 |
affected from 15.0.0, before 15.0.5345.1000
|
Is my server affected?
This CVE is in Microsoft SharePoint Enterprise Server 2016 of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Exploits and proof of concept
- https://packetstorm.news/files/id/163208 packetstorm.news · exploit
Other references
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31181 portal.msrc.microsoft.com
- https://www.zerodayinitiative.com/advisories/ZDI-21-573/ zerodayinitiative.com
- http://packetstormsecurity.com/files/163208/Microsoft-SharePoint-Unsafe-Control-And-ViewState-Remote-Code-Execution.html packetstormsecurity.com
Source: the record CVE-2021-31181 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse