Cloudanix VulnDB

CVE-2023-21529

High · 8.8 CISA KEV · ransomware

CVSS

8.8

EPSS

59.3%

Published

Feb 14, 2023

CISA due date

Apr 27, 2026

Cloudanix analysis

Act now SSVC: Act

A flaw in email server software can let a logged-in attacker take control of the server, steal email data, and potentially help launch ransomware.

Active In The Wild
Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Remote Code Execution
Component
Network Service
Class
RCE
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

This is a network-reachable remote code execution flaw in Microsoft Exchange Server with low attack complexity and no user interaction required, but it requires the attacker to have at least low-privileged authenticated access. Successful exploitation can allow attacker-controlled code to run in the Exchange Server application context, potentially exposing mailbox data, authentication material, server-side configuration, and adjacent internal systems reachable from the Exchange host. The vulnerability is listed as actively exploited, has a high EPSS likelihood score, and is in CISA KEV with ransomware use reported, which materially increases operational urgency.

Why it matters to the business

Compromise of an Exchange Server can disrupt email availability, expose sensitive communications, enable credential theft, and provide a foothold for broader intrusion or ransomware deployment. Because Exchange is commonly internet-facing and highly trusted inside enterprise networks, exploitation can quickly become a business-wide incident involving email outage, data breach response, legal notification, and recovery costs. CISA KEV status, reported ransomware use, and a remediation due date of 2026-04-27 indicate this should be treated as a mandatory, high-priority fix for any exposed or internally reachable affected deployment.

How an attack unfolds

An attacker first obtains or uses valid low-privileged credentials for the target Exchange environment, then sends specially crafted network requests to the vulnerable Exchange service. The flaw allows unsafe server-side processing that can be coerced into executing attacker-controlled code without requiring a victim to click a link or open a message. Once code execution is achieved, the attacker typically validates execution, drops tooling or a web-accessible backdoor, enumerates mailboxes and configuration, harvests credentials or tokens, and pivots through the Windows domain. In ransomware-motivated intrusions, Exchange compromise may be followed by privilege escalation, lateral movement, disabling security controls, data staging, and encryption activity. The supplied threat-actor field appears to describe the vulnerability class rather than a named actor, but the KEV and ransomware flags indicate real-world exploitation risk.

How to fix it

Apply the Microsoft security update that remediates this Exchange Server remote code execution vulnerability for the exact installed Exchange version and cumulative update level. Ensure Exchange is on a supported cumulative update before applying security updates, because unsupported builds may not receive complete fixes. If the affected-product inventory also identifies pimcore/pimcore from source, update that repository to or beyond commit 765832f0dc5f6cfb296a82e089b701066f27bcef; however, validate product mapping because the provided fixed-version metadata does not align with the Microsoft Exchange description. If immediate patching is not possible, restrict Exchange administrative and user-facing endpoints to trusted networks, require MFA for all accounts, disable or limit legacy authentication, monitor and block suspicious authenticated access, and isolate vulnerable servers from unnecessary internal reachability. Mitigations should be considered temporary only; KEV-listed and ransomware-associated vulnerabilities should be remediated with vendor fixes.

How to confirm the fix worked

Confirm the installed Exchange Server build and security update level against Microsoft’s advisory and supported cumulative update matrix. Validate that all Exchange servers, including hybrid, standby, lab, and disaster-recovery systems, are patched. Run Microsoft Exchange Health Checker or equivalent vendor-supported validation tooling and confirm no vulnerable build remains. Verify that internet-facing scanners and internal vulnerability scanners no longer report this issue. If using source-based dependency tracking for pimcore/pimcore, confirm the checked-out commit is 765832f0dc5f6cfb296a82e089b701066f27bcef or later. After remediation, review IIS, Exchange, Windows Security, PowerShell, EDR, and proxy logs for suspicious authenticated activity before the patch date, because patching does not remove existing persistence.

Typical attack path

  1. Identify an exposed or reachable Microsoft Exchange Server and determine whether it is running an affected build.
  2. Acquire or reuse low-privileged credentials through phishing, password spraying, credential stuffing, prior malware, or brokered access.
  3. Authenticate to Exchange over HTTPS and access vulnerable functionality.
  4. Send crafted requests that trigger unsafe server-side processing and achieve code execution in the Exchange application context.
  5. Run discovery commands to identify hostname, domain membership, Exchange roles, users, and security tooling.
  6. Deploy persistence such as a web shell, scheduled task, service, or startup artifact if permissions allow.
  7. Access or export mailbox data, configuration, tokens, certificates, or credentials available to the compromised process.
  8. Move laterally to domain systems and escalate privileges.
  9. Stage data for exfiltration or deploy ransomware payloads where the intrusion is financially motivated.

How to detect it

Investigate whether Exchange servers were exploited by correlating IIS logs, Exchange HttpProxy logs, Windows Security events, PowerShell logs, Sysmon or EDR telemetry, antivirus alerts, reverse proxy or WAF logs, and mailbox audit logs. Focus on the period before patching and on any externally exposed systems. Look for unusual authenticated access from unfamiliar IP addresses, impossible travel, password-spray precursors, abnormal requests to Exchange endpoints, and spikes in 500-series responses. On the host, prioritize evidence of IIS worker processes or Exchange services spawning command shells, PowerShell, script interpreters, archive tools, download utilities, or LOLBins. Search Exchange web directories and temporary ASP.NET locations for newly created ASPX files or other executable content. Review PowerShell Event IDs 4103 and 4104, Windows Security Event ID 4688 process creation events, Sysmon Event ID 1 process creation, Event ID 3 network connections, Event ID 11 file creation, and service or scheduled-task creation events. Review mailbox audit logs for mass access, unexpected exports, new inbox rules, suspicious mailbox delegation, or unauthorized transport rules. Because ransomware use is reported, also hunt for credential dumping, domain discovery, backup deletion, security-tool tampering, large archive creation, unusual outbound transfers, and encryption tooling.

  • w3wp.exe cmd.exe
  • w3wp.exe powershell.exe
  • w3wp.exe pwsh.exe
  • w3wp.exe certutil.exe
  • w3wp.exe bitsadmin.exe
  • w3wp.exe mshta.exe
  • w3wp.exe rundll32.exe
  • w3wp.exe regsvr32.exe
  • w3wp.exe cscript.exe
  • w3wp.exe wscript.exe
  • MSExchange* powershell.exe
  • C:\inetpub\wwwroot\aspnet_client\
  • C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\auth\
  • C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\ecp\auth\
  • C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\
  • C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\
  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\
  • C:\Windows\Temp\
  • C:\ProgramData\
  • New-ManagementRoleAssignment
  • New-InboxRule
  • Set-Mailbox -ForwardingSmtpAddress
  • Set-Mailbox -DeliverToMailboxAndForward
  • New-TransportRule
  • New-MailboxExportRequest
  • /owa/auth/
  • /ecp/
  • /ews/exchange.asmx
  • /powershell/
  • /mapi/
  • POST /ecp/
  • POST /owa/
  • POST /powershell/
  • EventCode=4688 Image=*\w3wp.exe CommandLine=*powershell*
  • EventCode=4688 ParentImage=*\w3wp.exe Image=*\cmd.exe
  • EventCode=4104 ScriptBlockText=*Invoke-WebRequest*
  • EventCode=4104 ScriptBlockText=*DownloadString*
  • EventCode=4104 ScriptBlockText=*FromBase64String*
  • EventCode=7045
  • schtasks /create
  • vssadmin delete shadows
  • wbadmin delete catalog
  • bcdedit /set {default} recoveryenabled no

What your security team should do

  • Treat this as urgent due to active exploitation, high exploitation probability, KEV inclusion, and reported ransomware use.
  • Inventory all Microsoft Exchange servers, including non-production, hybrid, edge, and disaster-recovery instances, and identify externally exposed endpoints.
  • Patch all affected Exchange servers with the appropriate Microsoft security update and bring unsupported cumulative updates to a supported level first.
  • Hunt for prior compromise before and after patching, focusing on authenticated anomalous requests, child processes spawned by IIS/Exchange services, web shells, PowerShell activity, and new persistence artifacts.
  • Rotate credentials and invalidate sessions for accounts used on or against Exchange if compromise is suspected, prioritizing privileged and service accounts.
  • Restrict Exchange access paths with VPN, conditional access, MFA, IP allowlisting, and removal of legacy authentication where business operations permit.
  • Review mailbox delegation, transport rules, inbox rules, OAuth applications, certificates, and Exchange organization configuration for unauthorized changes.
  • Ensure EDR is enabled and tamper-protected on Exchange servers, with alerting for web server process spawning command interpreters or script engines.
  • Prepare incident response procedures for ransomware scenarios, including validated backups, offline recovery paths, and isolation playbooks.
  • Track the CISA KEV remediation deadline of 2026-04-27 where applicable and document compensating controls until patching is complete.

The record

Microsoft Exchange Server Remote Code Execution Vulnerability

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities