CVE-2021-31181 Microsoft SharePoint Remote Code Execution Vulnerability

High 8.8 Published Updated

Attackers can execute arbitrary code on Microsoft SharePoint servers, potentially compromising the entire platform.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31181?

CVE-2021-31181 is a high-severity code injection vulnerability in Microsoft Sharepoint Enterprise Server, published on 11 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Microsoft SharePoint Remote Code Execution Vulnerability

Weakness: CWE-94

Which versions are affected by CVE-2021-31181?

It affects 3 products.

Products include Microsoft Sharepoint Enterprise Server, Microsoft Sharepoint Foundation, Microsoft Sharepoint Server.

How do I fix CVE-2021-31181?

No fix has been published for CVE-2021-31181 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-31181 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-31181 exists.

Public exploit code: 1 Metasploit module.

All Microsoft Sharepoint Enterprise Server vulnerabilities

Sources

Also known as GHSA-jv6v-h246-28v4.

Is CVE-2021-31181 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free