The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-34473

CVE-2021-34473: Microsoft Exchange Server RCE Vulnerability

CVE-2021-34473 is a remote code execution vulnerability in Microsoft Exchange Server that enables attackers to execute arbitrary code remotely. This article covers technical details, affected versions, security impact, and mitigation.

Published: March 4, 2026

CVE-2021-34473 Overview

CVE-2021-34473 is a critical remote code execution vulnerability in Microsoft Exchange Server, commonly known as part of the "ProxyShell" attack chain. This vulnerability allows an unauthenticated attacker to execute arbitrary code on affected Microsoft Exchange servers via a network-based attack. The flaw exists in the Exchange Server's handling of pre-authentication requests, enabling threat actors to bypass authentication and access privileged Exchange functionality.

Critical Impact

This vulnerability has been actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities Catalog. Successful exploitation allows unauthenticated remote code execution on Microsoft Exchange servers, potentially compromising email communications and enabling lateral movement within enterprise networks.

Affected Products

  • Microsoft Exchange Server 2013 Cumulative Update 23
  • Microsoft Exchange Server 2016 Cumulative Update 19 and 20
  • Microsoft Exchange Server 2019 Cumulative Update 8 and 9

Discovery Timeline

  • 2021-07-14 - CVE-2021-34473 published to NVD
  • 2025-10-29 - Last updated in NVD database

Technical Details for CVE-2021-34473

Vulnerability Analysis

CVE-2021-34473 is classified under CWE-918 (Server-Side Request Forgery), allowing attackers to bypass authentication mechanisms in Microsoft Exchange Server. The vulnerability stems from improper URI validation in Exchange's Client Access Service (CAS), enabling attackers to impersonate privileged backend services without proper authentication.

This vulnerability is part of the ProxyShell attack chain, which combines multiple vulnerabilities to achieve remote code execution. When exploited, attackers can access Exchange's backend administrative functions, read mailboxes, and deploy webshells for persistent access. The attack is particularly dangerous because it requires no user interaction and can be exploited by unauthenticated remote attackers.

Root Cause

The root cause of CVE-2021-34473 lies in the improper handling of URL normalization within Microsoft Exchange's autodiscover service. The Exchange Autodiscover endpoint fails to properly validate and sanitize URI paths, allowing attackers to craft malicious requests that confuse the path normalization logic. This confusion enables the attacker to access backend URLs that should only be accessible to authenticated users, effectively bypassing the front-end proxy authentication entirely.

Attack Vector

The attack is executed remotely over the network without requiring authentication or user interaction. Attackers send specially crafted HTTP requests to the Exchange autodiscover endpoint, manipulating the URL path to access backend services. By exploiting the path confusion vulnerability, attackers can:

  1. Access the Exchange PowerShell backend without authentication
  2. Execute arbitrary Exchange Management Shell commands
  3. Create webshells for persistent access
  4. Exfiltrate email data from mailboxes
  5. Move laterally within the compromised network

The vulnerability is commonly chained with CVE-2021-34523 (privilege escalation) and CVE-2021-31207 (arbitrary file write) to form the complete ProxyShell exploit chain for full remote code execution.

Detection Methods for CVE-2021-34473

Indicators of Compromise

  • Suspicious requests to /autodiscover/autodiscover.json with unusual query parameters or path traversal sequences
  • Presence of webshells in Exchange installation directories, particularly in inetpub\wwwroot\aspnet_client\ or ProgramFiles\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\auth\
  • Unexpected .aspx files created in Exchange web directories with recent timestamps
  • Evidence of PowerShell execution originating from w3wp.exe (IIS worker process) in Windows Event Logs

Detection Strategies

  • Monitor IIS logs for requests containing /autodiscover/autodiscover.json with encoded characters or unexpected path structures
  • Implement file integrity monitoring on Exchange web directories to detect unauthorized file creation
  • Deploy endpoint detection rules targeting webshell behaviors such as cmd.exe or powershell.exe spawned by w3wp.exe
  • Configure SIEM alerts for suspicious Exchange Management Shell activity from non-administrative sources

Monitoring Recommendations

  • Enable verbose logging on Exchange servers including IIS W3C logs and Exchange audit logs
  • Monitor network traffic for suspicious outbound connections from Exchange servers to unknown external IPs
  • Review Exchange server processes for anomalous child processes spawned by IIS worker processes
  • Implement network segmentation monitoring to detect lateral movement attempts from Exchange servers

How to Mitigate CVE-2021-34473

Immediate Actions Required

  • Apply Microsoft security updates immediately to all affected Exchange Server versions
  • Scan Exchange servers for existing webshells and indicators of compromise before and after patching
  • Isolate unpatched Exchange servers from the network until patches can be applied
  • Review Exchange server logs for evidence of historical exploitation attempts

Patch Information

Microsoft has released security updates to address CVE-2021-34473. Organizations should apply the latest cumulative updates for their Exchange Server version. Detailed patching guidance is available in the Microsoft Security Advisory CVE-2021-34473. Additional technical details about this vulnerability are documented in the ZDI Advisory ZDI-21-821.

Workarounds

  • Block external access to Exchange autodiscover endpoints at the network perimeter if immediate patching is not possible
  • Implement Web Application Firewall (WAF) rules to detect and block ProxyShell exploitation patterns
  • Restrict Exchange server internet exposure by placing servers behind a reverse proxy with strict request filtering
  • Consider migrating to Exchange Online (Microsoft 365) as a long-term mitigation strategy for on-premises Exchange vulnerabilities
bash
# Check Exchange Server version and cumulative update level
Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion

# Review IIS logs for potential exploitation attempts
Get-Content "C:\inetpub\logs\LogFiles\W3SVC1\*.log" | Select-String -Pattern "autodiscover.json"

# Search for suspicious webshells in common Exchange directories
Get-ChildItem -Path "C:\inetpub\wwwroot\aspnet_client\" -Recurse -Include "*.aspx" | Where-Object {$_.LastWriteTime -gt (Get-Date).AddDays(-30)}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Exchange

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-918
  • Technical References
  • Packet Storm RCE Exploit

  • ZDI Advisory ZDI-21-821

  • CISA Known Exploit Catalog CVE-2021-34473
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-34473
  • Related CVEs
  • CVE-2020-16875: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-26858: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-27065: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-26857: Microsoft Exchange Server RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English