What is Microsoft Exchange Server?
Microsoft Exchange Server is an enterprise email and collaboration platform widely deployed in corporate, government, and educational environments worldwide. Exchange handles email routing, calendaring, contacts, and unified messaging for millions of organizations. Because Exchange servers are internet-facing, process complex protocol interactions, and store sensitive organizational communications, they are among the most targeted enterprise infrastructure components. Exchange has been subject to a series of critical vulnerabilities since 2021 — ProxyLogon, ProxyShell, ProxyToken, and related chains — reflecting the complexity of the Exchange codebase and the persistent focus of threat actors on compromising email infrastructure.
Overview
CVE-2021-31196 is an information disclosure vulnerability in Microsoft Exchange Server that can enable remote code execution. The vulnerability requires high privileges (PR:H) — an authenticated administrator-level account — to trigger. Microsoft patched it in July 2021 Patch Tuesday. Despite the high-privilege prerequisite, the combination of information disclosure and code execution makes this significant in Exchange attack chains where credential theft or admin account compromise has already been achieved. CISA added it to the KEV catalog in August 2024 — three years after the patch — confirming ongoing exploitation against unpatched Exchange servers, which remain common in enterprise environments.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Exchange Server 2013 CU23 | Yes | July 2021 Patch Tuesday Security Update |
| Exchange Server 2016 CU21/CU20 | Yes | July 2021 Patch Tuesday Security Update |
| Exchange Server 2019 CU10/CU9 | Yes | July 2021 Patch Tuesday Security Update |
Technical Details
- Root cause: Information disclosure vulnerability in Exchange Server that leaks server-side data accessible to authenticated administrators; the disclosed information can be leveraged to achieve remote code execution on the Exchange server
- Authentication requirement: CVSS PR:H — the attacker must already have admin-level Exchange credentials; this constrains initial exploitation to scenarios where admin credentials have been compromised via separate means (credential phishing, password spraying, credential theft from ProxyLogon/ProxyShell exploitation)
- Post-compromise utility: Even with the PR:H requirement, CVE-2021-31196 is valuable in layered attacks: an attacker who obtains Exchange admin credentials (via password reuse, credential markets, or initial ProxyLogon/ProxyShell exploitation) can use CVE-2021-31196 to escalate from Exchange admin to OS-level code execution
- Exchange chain context: July 2021 Patch Tuesday included fixes for multiple Exchange vulnerabilities; CVE-2021-31196 is part of the broader pattern of Exchange vulnerability clusters being exploited in combination to achieve complete Exchange server compromise
- Late KEV addition: The August 2024 CISA KEV addition — three years after patch — reflects that a significant number of Exchange servers remain unpatched and that exploitation of older Exchange vulnerabilities continues at a pace sufficient to warrant CISA action
Discovery
Reported to Microsoft and patched in July 2021 Patch Tuesday. The three-year gap between the patch and the CISA KEV addition reflects exploitation evidence accumulating over time against the large installed base of unpatched on-premises Exchange servers — an environment where Microsoft's own data showed millions of servers remained unpatched on Exchange vulnerabilities released years earlier.
Exploitation Context
On-premises Exchange Server has represented one of the highest-value and most actively exploited attack surfaces of the 2021–2024 era. The ProxyLogon, ProxyShell, and related vulnerability chains established Exchange servers as primary targets for initial access brokers, ransomware affiliates, and nation-state actors. CVE-2021-31196 participates in this pattern as a vulnerability providing admin-to-RCE capability that extends Exchange exploitation chains. The late 2024 CISA KEV addition reflects that these older Exchange vulnerabilities are still being actively exploited against organizations that have not kept Exchange updated — a persistent problem given the complexity and risk of Exchange patching in large deployments.
Remediation
- Apply July 2021 Patch Tuesday Security Updates for the appropriate Exchange Server version and cumulative update level — check the Microsoft Security Update Guide for exact KB numbers
- Verify Exchange is on a supported cumulative update (CU) before applying security updates — Microsoft requires Exchange to be on a recent CU before security updates can be applied
- Audit Exchange admin accounts: review which accounts have Organization Management or other high-privileged Exchange roles; enforce MFA on all admin accounts
- Consider migrating to Exchange Online (Microsoft 365) — Microsoft has discontinued new feature development for on-premises Exchange and ongoing patching burden is substantial
- If on-premises Exchange is required: enable Extended Protection for Authentication and ensure IIS is hardened per Microsoft guidance
- Monitor Exchange logs for anomalous admin-level API access patterns indicative of exploitation or credential abuse
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2021-31196 |
| Vendor / Product | Microsoft — Exchange Server |
| NVD Published | 2021-07-14 |
| NVD Last Modified | 2025-10-29 |
| CVSS 3.1 Score | 7.2 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CISA KEV Added | 2024-08-21 |
| CISA KEV Deadline | 2024-09-11 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2021-07-13 | Microsoft patches CVE-2021-31196 in July 2021 Patch Tuesday |
| 2021-07-14 | CVE published |
| 2024-08-21 | Added to CISA Known Exploited Vulnerabilities catalog — three years after the patch, reflecting continued exploitation of unpatched Exchange servers |
| 2024-09-11 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Microsoft Security Advisory — CVE-2021-31196 | Vendor Advisory |
| NVD — CVE-2021-31196 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |