CVE-2021-42321 Microsoft Exchange Server Remote Code Execution

Exploited in the wild High 8.8 Published Updated

Attackers can execute arbitrary code on Microsoft Exchange Server, requiring immediate patching by administrators.

Exploited in the wild
Since 17 Nov 2021
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-42321?

CVE-2021-42321 is a high-severity code injection vulnerability in Microsoft Exchange Server, published on 10 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Microsoft Exchange Server Remote Code Execution Vulnerability

Which versions are affected by CVE-2021-42321?

It affects 1 product.

Products include Microsoft Exchange Server.

How do I fix CVE-2021-42321?

No fix has been published for CVE-2021-42321 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 1 Dec 2021.

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

Is CVE-2021-42321 being exploited?

Yes. Attackers have exploited CVE-2021-42321 in the wild since at least 17 Nov 2021, including in ransomware campaigns.

Public exploit code: 1 Metasploit module and 3 proofs of concept on GitHub.

All Microsoft Exchange Server vulnerabilities

Sources

Also known as GHSA-3f87-66x4-f3p7.

Is CVE-2021-42321 in your software?

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

Check your SBOMs for free