CVE-2021-34473: ProxyShell: Microsoft Exchange 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. Improper URL normalization allows unauthenticated attackers to access arbitrary Exchange backend URLs with Exchange machine-account privileges. It is the initial component of ProxyShell, an exploit chain combining CVE-2021-34473, CVE-2021-34523, and CVE-2021-31207 to achieve unauthenticated remote code execution and arbitrary file writes with elevated privileges. The vulnerability has a listed CVSS v3.1 score of 9.1 and has been exploited in ransomware, espionage, and cryptocurrency-mining intrusions.
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.
The vulnerability crosses the Exchange frontend authentication boundary, exposing backend services to unauthenticated requests made with machine-account privileges. Chaining it with the other ProxyShell vulnerabilities enables SYSTEM-context code execution and arbitrary file writes, including web-shell deployment. Observed downstream consequences include mailbox compromise, malicious email distribution, credential theft, persistent access, data exfiltration, cryptocurrency mining, and ransomware deployment. These broader consequences depend on the exploit chain and subsequent attacker actions rather than this component alone.
Mitigation
If you can’t patch tonight, do this now.
Use virtual patching or intrusion-prevention coverage for ProxyShell while updates are pending. Review Exchange IIS and proxy logs for suspicious Autodiscover requests referencing backend services or access-token parameters. Deploy endpoint detection on Exchange servers and monitor web-server worker processes for unexpected shell or PowerShell children and web-shell activity. Apply network segmentation and least privilege to constrain post-exploitation movement. These controls supplement rather than replace patching.
Remediation
Patch, then assume compromise.
Apply Microsoft's Exchange security updates addressing CVE-2021-34473, including the applicable April 2021 update covered by KB5001779 or a superseding update. The listed fixed-build thresholds are Exchange Server 2013 CU23 15.00.1497.015; Exchange Server 2016 CU19 15.01.2176.012 and CU20 15.01.2242.008; and Exchange Server 2019 CU8 15.02.0792.013 and CU9 15.02.0858.010. Patch all three ProxyShell vulnerabilities, not just CVE-2021-34473; March 2021 ProxyLogon updates alone are insufficient. Investigate previously exposed servers for compromise regardless of patch status, and remove any discovered persistence because patching does not eliminate existing attacker access.
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 5, 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's Exchange security updates addressing CVE-2021-34473, including the applicable April 2021 update covered by KB5001779 or a superseding update. The listed fixed-build thresholds are Exchange Server 2013 CU23 15.00.1497.015; Exchange Server 2016 CU19 15.01.2176.012 and CU20 15.01.2242.008; and Exchange Server 2019 CU8 15.02.0792.013 and CU9 15.02.0858.010.
- 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 5, 2026.
Recent activity
102 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.