← Vulnerability feed

Vulnerability record · CVE-2021-31207 · published 11 May 2021

CVE-2021-31207: Microsoft Exchange Server security feature bypass via unrestricted file upload

Microsoft · Exchange Server

CVE-2021-31207 is a security feature bypass in Microsoft Exchange Server caused by unrestricted file upload (CWE-434). It is one of the three flaws chained in the ProxyShell exploit chain, where it is used after authentication to write a web shell and achieve remote code execution. It matters because the chain is actively exploited and has been used in ransomware campaigns.

6.6 CVSS 3.1 Medium CISA KEV since 3 Nov 2021 Known ransomware use EPSS 100% · top 0.1% CWE-434 · Unrestricted file upload
6.6CVSS 3.1 base score, v2 6.5
100%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
7References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Microsoft Exchange Server Security Feature Bypass Vulnerability

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityIt is in CISA KEV with known ransomware use, has near-certain EPSS probability, and public exploit code exists for the ProxyShell chain.

What it is

CVE-2021-31207 is a security feature bypass in Microsoft Exchange Server caused by unrestricted file upload (CWE-434). It is one of the three flaws chained in the ProxyShell exploit chain, where it is used after authentication to write a web shell and achieve remote code execution. It matters because the chain is actively exploited and has been used in ransomware campaigns.

Impact

An authenticated attacker can bypass Exchange security features to upload arbitrary files, typically a web shell, leading to remote code execution on the mail server. This gives full control of the Exchange host and access to mail data and the underlying Windows system.

Attack surface

Reachable over the network against Exchange Server web endpoints (CVSS AV:N). The vector requires high privileges (PR:H) and no user interaction (UI:N), so the attacker needs valid credentials or must first chain another flaw to obtain them.

Exploitation

Listed in CISA KEV since 2021-11-03 with known ransomware campaign use, and EPSS 30-day probability is 0.99782 (99.956th percentile). Public exploit code is referenced (Packet Storm ProxyShell RCE), confirming active exploitation.

What to do

  • Apply the Microsoft Exchange security updates referenced in the vendor advisory immediately.
  • Verify Exchange servers are patched against the full ProxyShell chain (CVE-2021-34473, CVE-2021-34523, CVE-2021-31207).
  • Restrict external access to Exchange OWA/ECP endpoints and enforce MFA to reduce credential-based reach.
  • Audit and remove unauthorized web shells and unexpected files under Exchange web directories.
  • Monitor for and block known ProxyShell exploitation patterns at the perimeter.

Detection

  • Hunt for newly created .aspx or other executable files in Exchange OWA/ECP directories.
  • Monitor IIS and Exchange logs for unusual POST requests to autodiscover or ECP paths consistent with ProxyShell.
  • Alert on web server processes spawning cmd.exe, powershell.exe or other unexpected child processes.
  • Review authentication logs for anomalous or compromised accounts accessing Exchange web endpoints.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2021-31207 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Microsoft Exchange Server Security Feature Bypass Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 17 November 2021.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-31207 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-21410Microsoft Exchange Server improper authentication privilege escalationCVE-2024-21410 is an improper authentication (CWE-287) elevation of privilege flaw in Microsoft Exchange Server. It is network-reachable with no priv…KEVEPSS 13%analysed9.1CVE-2021-34473Microsoft Exchange Server SSRF Enables Remote Code ExecutionCVE-2021-34473 is a critical server-side request forgery (SSRF) flaw in Microsoft Exchange Server that leads to remote code execution. It is part of …KEVEPSS 100%analysed9.1CVE-2021-26855Microsoft Exchange Server SSRF enabling remote code executionCVE-2021-26855 is a server-side request forgery (CWE-918) in Microsoft Exchange Server that is part of the ProxyLogon exploit chain and can lead to r…KEVEPSS 100%analysed9.0CVE-2021-34523Microsoft Exchange Server privilege escalation flawCVE-2021-34523 is a privilege escalation vulnerability in Microsoft Exchange Server. It is a component of the ProxyShell exploit chain, where it is u…KEVEPSS 100%analysed8.8CVE-2023-21529Microsoft Exchange Server deserialization flaw enables remote code executionCVE-2023-21529 is a deserialization of untrusted data vulnerability (CWE-502) in Microsoft Exchange Server that allows remote code execution. It carr…KEVEPSS 59%analysed8.8CVE-2022-41080Microsoft Exchange Server elevation of privilegeCVE-2022-41080 is an elevation of privilege vulnerability in Microsoft Exchange Server. A network-reachable attacker with low privileges can exploit …KEVEPSS 77%analysed8.8CVE-2022-41040Microsoft Exchange Server SSRF elevation of privilegeCVE-2022-41040 is a server-side request forgery (SSRF) flaw in Microsoft Exchange Server that allows an authenticated attacker to escalate privileges…KEVEPSS 100%analysed8.8CVE-2021-42321Microsoft Exchange Server remote code execution flawCVE-2021-42321 is a remote code execution vulnerability in Microsoft Exchange Server. It is remotely reachable over the network with low complexity, …KEVEPSS 92%analysed

Source: NIST National Vulnerability Database (record CVE-2021-31207), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.