CVE-2021-34473: ProxyShell: Microsoft Exchange Server Pre-authentication Path Confusion
- Vendor
- Microsoft Corporation
CVE-2021-34473 is a pre-authentication path-confusion vulnerability in Microsoft Exchange Server 2013, 2016, and 2019. Inconsistent URL normalization allows specially crafted requests to reach arbitrary Exchange backend URLs with Exchange machine-account privileges, bypassing frontend authentication restrictions. It is the initial component of ProxyShell, which chains this vulnerability with CVE-2021-34523 and CVE-2021-31207 to achieve unauthenticated remote code execution and arbitrary file writes with elevated privileges. Exploitation has been observed in intrusions involving web shells, malicious email distribution, cryptocurrency miners, and ransomware.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation exposes privileged Exchange backend functionality to an unauthenticated network attacker, compromising confidentiality and integrity. Combined with the remaining ProxyShell vulnerabilities, it enables elevated code execution, arbitrary file uploads, and web-shell deployment. Observed follow-on activity includes mailbox access, email-thread hijacking, credential theft, lateral movement, cryptocurrency mining, and ransomware deployment; these broader outcomes depend on additional exploitation or post-compromise actions.
Mitigation
If you can’t patch tonight, do this now.
Where immediate patching is not possible, use Exchange-specific IPS or virtual-patching protections and restrict network access to exposed Exchange web services where operationally feasible. Review Exchange IIS and proxy logs for suspicious Autodiscover requests referencing backend PowerShell or mailbox services. Deploy endpoint monitoring on Exchange servers and investigate unexpected command shells or PowerShell processes spawned by IIS worker processes. Apply web-shell detection and containment measures; these controls do not replace security updates.
Remediation
Patch, then assume compromise.
Apply Microsoft Exchange security updates addressing CVE-2021-34473 and both companion ProxyShell vulnerabilities, CVE-2021-34523 and CVE-2021-31207. CVE-2021-34473 and CVE-2021-34523 were addressed by the April 2021 updates, including KB5001779; CVE-2021-31207 was addressed by the May 2021 updates, including KB5003435. Minimum fixed builds for CVE-2021-34473 are Exchange 2013 CU23 15.00.1497.015; Exchange 2016 CU19 15.01.2176.012 and CU20 15.01.2242.008; and Exchange 2019 CU8 15.02.0792.013 and CU9 15.02.0858.010. Prefer applicable superseding updates rather than these historical minimums. March 2021 ProxyLogon updates alone do not protect against ProxyShell. Investigate exposed servers for existing compromise because patching does not remove deployed web shells or other persistence.
Exploits
9 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-34473 exploited in the wild?
- Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-34473?
- Yes. Mallory tracks 9 public exploits or proofs of concept for CVE-2021-34473, the earliest disclosed Apr 6, 2021.
- Is there a patch for CVE-2021-34473?
- Apply Microsoft Exchange security updates addressing CVE-2021-34473 and both companion ProxyShell vulnerabilities, CVE-2021-34523 and CVE-2021-31207. CVE-2021-34473 and CVE-2021-34523 were addressed by the April 2021 updates, including KB5001779; CVE-2021-31207 was addressed by the May 2021 updates, including KB5003435.
- What products are affected by CVE-2021-34473?
- Microsoft Corporation Exchange Server.
- How severe is CVE-2021-34473?
- CVE-2021-34473 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 26, 2026.
Recent activity
109 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.