ProxyShell is a chain of three vulnerabilities in on-premises Microsoft Exchange Server. When combined, they allow an unauthenticated remote attacker to execute code on an unpatched server. Orange Tsai of DEVCORE demonstrated the chain at Pwn2Own in April 2021.
The chain combines an access-control bypass (CVE-2021-34473), privilege escalation in the Exchange PowerShell backend (CVE-2021-34523), and a post-authentication arbitrary file write (CVE-2021-31207). A successful attack can install a web shell and provide persistent access.
Historically affected deployments include unpatched Exchange Server 2013, 2016 and 2019 installations. Exchange Online is not affected by this chain, but on-premises servers in hybrid environments require separate assessment.
Microsoft released the first two fixes on April 13, 2021 and the third on May 11, 2021. Intrusions were documented in August 2021. Removing the vulnerabilities does not remove an existing compromise.