CVE-2021-34523: Microsoft Exchange PowerShell Backend Privilege Escalation (ProxyShell)
- Vendor
- Microsoft Corporation
CVE-2021-34523 is an elevation-of-privilege vulnerability in the Microsoft Exchange Server PowerShell backend, affecting Exchange Server 2013, 2016, and 2019. Improper validation of access tokens allows an attacker to supply identity information through the X-Rps-CAT query parameter and impersonate a local administrator when executing Exchange PowerShell commands. It is the privilege-escalation component of ProxyShell, which chains CVE-2021-34473, CVE-2021-34523, and CVE-2021-31207 to achieve unauthenticated remote code execution. Exploitation has been observed in the wild.
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 compromises confidentiality and integrity by allowing unauthorized administrative impersonation and elevated Exchange PowerShell operations. When combined with the other ProxyShell vulnerabilities, it enables unauthenticated server compromise and web-shell deployment. Observed follow-on activity has included credential theft, data exfiltration, backdoor installation, cryptocurrency mining, and ransomware deployment; these are consequences of broader intrusions rather than direct capabilities of this vulnerability alone.
Mitigation
If you can’t patch tonight, do this now.
For systems awaiting updates, use intrusion-prevention or virtual-patching protections specifically covering Exchange access-token privilege escalation and the ProxyShell chain. Monitor Exchange proxy and IIS logs for suspicious backend PowerShell requests and unexpected identity-token parameters. Deploy endpoint detection and response on Exchange servers and investigate web shells or other persistence even after patching, because updates do not remove an existing compromise.
Remediation
Patch, then assume compromise.
Install the applicable Microsoft Exchange security update released April 13, 2021, associated with KB5001779, or an applicable superseding update. Microsoft documented the CVE on July 13, 2021, after inadvertently omitting it from the April security-update documentation; systems that had already installed the applicable April update required no additional action for this CVE. Address the entire ProxyShell chain, including CVE-2021-31207, patched in May 2021. March 2021 ProxyLogon updates alone do not provide protection against ProxyShell.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 1 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-34523 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-34523?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2021-34523, the earliest disclosed Apr 6, 2021.
- Is there a patch for CVE-2021-34523?
- Install the applicable Microsoft Exchange security update released April 13, 2021, associated with KB5001779, or an applicable superseding update. Microsoft documented the CVE on July 13, 2021, after inadvertently omitting it from the April security-update documentation; systems that had already installed the applicable April update required no additional action for this CVE.
- What products are affected by CVE-2021-34523?
- Microsoft Corporation Exchange Server.
- How severe is CVE-2021-34523?
- CVE-2021-34523 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
76 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.