CVE-2021-31181
vulnerability analysis and mitigation

Overview

CVE-2021-31181 is a remote code execution vulnerability in Microsoft SharePoint Server that was disclosed on May 11, 2021. The vulnerability exists within the handling of server-side controls in WebParts, where by specifying a control using a non-canonical string, an unsafe server-side control can be instantiated (ZDI Advisory).

Technical details

The vulnerability has a CVSS score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The specific flaw exists within the handling of server-side controls in WebParts. When an attacker specifies a control using a non-canonical string, it can lead to the instantiation of an unsafe server-side control. Authentication is required to exploit this vulnerability (ZDI Advisory).

Impact

A successful exploitation of this vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft SharePoint. An attacker can leverage this vulnerability to execute code in the context of the service account (ZDI Advisory).

Mitigation and workarounds

Microsoft has released a security update to address this vulnerability. The fix is included in the May 11, 2021 security update. For SharePoint Foundation 2013, the update is KB5001935 (Microsoft Support).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management