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-26855

CVE-2021-26855: Microsoft Exchange Server RCE Vulnerability

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

Published: March 4, 2026

CVE-2021-26855 Overview

CVE-2021-26855 is a critical Server-Side Request Forgery (SSRF) vulnerability in Microsoft Exchange Server, commonly known as "ProxyLogon." This vulnerability allows unauthenticated remote attackers to send arbitrary HTTP requests and authenticate as the Exchange server, enabling access to internal backend services that would otherwise be inaccessible from the internet. When chained with other vulnerabilities in the ProxyLogon attack chain, this SSRF flaw enables complete server compromise, including arbitrary code execution and full access to email communications.

Critical Impact

This vulnerability is actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. Attackers can leverage this flaw to gain initial access, exfiltrate sensitive email data, deploy webshells, and establish persistent backdoor access to compromised Exchange environments without any authentication.

Affected Products

  • Microsoft Exchange Server 2013 (Cumulative Updates 21-23)
  • Microsoft Exchange Server 2016 (Cumulative Updates 8-19)
  • Microsoft Exchange Server 2019 (RTM through Cumulative Update 8)

Discovery Timeline

  • 2021-03-03 - CVE-2021-26855 published to NVD
  • 2025-12-18 - Last updated in NVD database

Technical Details for CVE-2021-26855

Vulnerability Analysis

CVE-2021-26855 exploits a flaw in the Microsoft Exchange Server's Client Access Service (CAS) component, which handles incoming client connections and proxies requests to backend services. The vulnerability exists in how Exchange handles HTTP request routing, specifically in the ProxyRequestHandler class that processes incoming HTTPS requests.

The SSRF vulnerability allows an attacker to craft malicious HTTP requests that bypass authentication checks and are forwarded directly to internal backend Exchange services. By manipulating request headers and the target URL, attackers can impersonate the Exchange server itself when communicating with backend components. This is particularly dangerous because internal services often trust requests originating from the frontend proxy without additional authentication verification.

When exploited successfully, this vulnerability grants attackers the ability to read arbitrary email mailboxes, access the Exchange Control Panel (ECP), and when combined with CVE-2021-27065, write arbitrary files to the server—enabling webshell deployment and remote code execution.

Root Cause

The root cause of CVE-2021-26855 is improper validation of incoming HTTP request data before proxying requests to backend services. The Exchange frontend service fails to adequately verify that the target of proxy requests is a legitimate backend service, allowing attackers to specify arbitrary internal URLs. Additionally, the authentication mechanism does not properly validate that the request originates from a trusted source before granting access to sensitive backend functionality.

The vulnerability is classified under CWE-918 (Server-Side Request Forgery), where the application can be tricked into making requests to unintended locations on behalf of the attacker.

Attack Vector

The attack is executed remotely over the network without requiring any authentication or user interaction. Attackers target internet-facing Exchange servers on port 443 (HTTPS), leveraging the Outlook Web Access (OWA) and Exchange Control Panel (ECP) endpoints.

A typical exploitation flow involves:

  1. An attacker sends a specially crafted HTTP POST request to the Exchange server's /ecp/ endpoint
  2. The request includes manipulated cookies and headers that exploit the SSRF vulnerability
  3. The Exchange frontend incorrectly proxies the request to internal backend services
  4. The attacker receives responses from internal services, potentially including authentication tokens
  5. These tokens can then be used to access mailboxes, write files, or execute additional exploitation steps

The attack has been widely observed in mass exploitation campaigns, with threat actors deploying webshells such as aspx files in publicly accessible directories to maintain persistent access. For detailed technical analysis of the exploitation mechanism, refer to the Microsoft Security Advisory and the Packet Storm RCE Exploit documentation.

Detection Methods for CVE-2021-26855

Indicators of Compromise

  • Presence of suspicious ASPX webshell files in Exchange directories such as C:\inetpub\wwwroot\aspnet_client\ or C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\auth\
  • Unusual POST requests to /ecp/ and /owa/ endpoints from external IP addresses with anomalous X-BEResource cookie values
  • W3WP.exe process spawning unexpected child processes such as cmd.exe, powershell.exe, or mshta.exe
  • Suspicious entries in Exchange HttpProxy logs showing SSRF patterns targeting internal backend URLs
  • Unexpected .aspx files with recent modification timestamps in web-accessible directories

Detection Strategies

  • Implement IIS log analysis to identify requests containing the X-AnonResource-Backend cookie or unusual X-BEResource values targeting internal services
  • Monitor for file creation events in Exchange web directories, particularly new .aspx files that could indicate webshell deployment
  • Deploy network detection rules for suspicious HTTP POST requests to Exchange ECP endpoints with abnormal header combinations
  • Utilize Microsoft's published detection scripts and the Exchange On-premises Mitigation Tool (EOMT) to scan for indicators of compromise

Monitoring Recommendations

  • Enable and centralize logging for IIS, Exchange HttpProxy, and Windows Security events on all Exchange servers
  • Configure alerts for process creation events where w3wp.exe spawns command interpreters or scripting engines
  • Implement file integrity monitoring on Exchange web directories to detect unauthorized file modifications
  • Monitor outbound network connections from Exchange servers for unusual destinations or data exfiltration patterns
  • Review Exchange administrative actions and mailbox access logs for unauthorized access patterns

How to Mitigate CVE-2021-26855

Immediate Actions Required

  • Apply Microsoft's security updates immediately—this vulnerability has been actively exploited since at least January 2021
  • Scan Exchange servers using Microsoft's published detection scripts and the Test-ProxyLogon.ps1 script to identify potential compromise
  • If compromise indicators are found, isolate the server, preserve forensic evidence, and initiate incident response procedures
  • Review and restrict external access to Exchange servers, considering placement behind a VPN or implementing IP allowlisting where feasible
  • Reset credentials for any accounts that may have been accessed through compromised Exchange servers

Patch Information

Microsoft released security updates addressing CVE-2021-26855 on March 2, 2021. Organizations should install the appropriate cumulative update or security patch for their Exchange Server version. Detailed patch information is available in the Microsoft Security Advisory for CVE-2021-26855.

For Exchange Server 2013, 2016, and 2019, Microsoft provides both full cumulative updates and targeted security updates. Organizations should verify their current cumulative update level and apply the corresponding security patch.

Workarounds

  • Implement URL Rewrite rules to block known malicious request patterns targeting the /ecp/ virtual directory as an interim measure if immediate patching is not possible
  • Restrict external access to Exchange services by deploying the server behind a reverse proxy with strict access controls
  • Disable external-facing OWA and ECP endpoints temporarily while preparing for emergency patching
  • Use Microsoft's Exchange On-premises Mitigation Tool (EOMT) which applies IIS URL Rewrite rules to mitigate the vulnerability
powershell
# Microsoft's recommended URL Rewrite rule to mitigate CVE-2021-26855
# Apply this to the "Autodiscover" frontend site in IIS
# Block requests with malicious X-AnonResource-Backend or X-BEResource cookies

New-WebConfigurationProperty `
    -Filter "system.webServer/rewrite/rules" `
    -Name "." `
    -Value @{
        name = 'X-AnonResource-Backend-CVE-2021-26855'
        patternSyntax = 'Regular Expressions'
        stopProcessing = 'True'
    } `
    -Location "Default Web Site/Autodiscover"

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.31%

  • 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 SSRF Exploit

  • Packet Storm RCE Exploit

  • Packet Storm Email Download Exploit

  • Packet Storm ProxyLogon Collector

  • CISA Known Exploit CVE-2021-26855
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-26855
  • 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