CVE-2021-34523
CRITICAL(9.0)KEV — Aktiv ausgenutztCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- CVSS 9 — Kritisch
- EPSS 100% — sehr wahrscheinlich ausgenutzt
- Im CISA KEV-Katalog (aktiv ausgenutzt)
CISA KEV
Bestätigt ausgenutzt
EPSS-Score
100.0%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
9
Technische Schwere
SecBoard-Einordnung
CVE-2021-34523 ist eine Schwachstelle zur Privilegienerhöhung im Microsoft Exchange Server. Ein erfolgreicher Exploit kann einem Angreifer ermöglichen, erhöhte Rechte auf dem betroffenen System zu erlangen. Dies kann weitreichende Auswirkungen auf die Vertraulichkeit, Integrität und Verfügbarkeit von Exchange-Diensten haben.
KI-gestützte Einordnung auf Basis der NVD-Daten.
Beschreibung
Microsoft Exchange Server Elevation of Privilege Vulnerability
Erkennung & Indikatoren
Ausnutzung
Die Schwachstelle wird aktiv ausgenutzt (CISA KEV). Obwohl Authentifizierung erforderlich ist, kann der vorhandene Authentifizierungsmechanismus umgangen werden. Sie kann in Verbindung mit anderen Schwachstellen zur Ausführung von beliebigem Code im Kontext von SYSTEM genutzt werden.
Threat-Hunting-Queries
Die Schwachstelle betrifft den PowerShell-Dienst von Microsoft Exchange Server und ermöglicht die Umgehung der Authentifizierung, um beliebigen Code auszuführen. Die Detektion sollte sich auf ungewöhnliche PowerShell-Aktivitäten oder die Ausführung von Code im SYSTEM-Kontext auf Exchange-Servern konzentrieren, insbesondere wenn diese Aktivitäten von nicht-authentifizierten oder umgangenen Authenti
Sentinel/Defender KQL
DeviceProcessEvents
| where FileName =~ "powershell.exe"
| where InitiatingProcessFileName =~ "w3wp.exe" or InitiatingProcessFileName =~ "iisexpress.exe" // Exchange-Webserver-Prozesse
| where ProcessCommandLine contains "-ExecutionPolicy Bypass" or ProcessCommandLine contains "-EncodedCommand" // Typische Indikatoren für bösartige PowerShell-Nutzung
| project TimeGenerated, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, AccountName, RemoteIP, RemoteUrlSplunk SPL
index=windows_events (source="WinEventLog:Microsoft-Windows-PowerShell/Operational" OR source="WinEventLog:Security")
| search (EventCode=4104 OR EventCode=4688)
| search (ProcessName="powershell.exe" AND ParentProcessName IN ("w3wp.exe", "iisexpress.exe"))
| search (CommandLine="*-ExecutionPolicy Bypass*" OR CommandLine="*-EncodedCommand*")
| table _time, host, ProcessName, ParentProcessName, CommandLine, UserSigma
title: Exchange PowerShell RCE Attempt (CVE-2021-34523)
author: SecBoard
date: 2024/07/30
logsource:
product: windows
service: security
detection:
selection:
EventID: 4688 # Process Creation
NewProcessName|endswith: '\powershell.exe'
ParentProcessName|endswith: # Exchange Webserver processes
- '\w3wp.exe'
- '\iisexpress.exe'
CommandLine|contains:
- '-ExecutionPolicy Bypass'
- '-EncodedCommand'
condition: selection
level: criticalElastic ES|QL
from winlog.eventdata
| where process.executable.name == "powershell.exe"
| where process.parent.executable.name in ("w3wp.exe", "iisexpress.exe")
| where process.command_line : ("*-ExecutionPolicy Bypass*", "*-EncodedCommand*")
| select @timestamp, host.name, process.executable.name, process.parent.executable.name, process.command_line, user.nameSecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Betroffene Produkte
- cpe:2.3:a:microsoft:exchange_server:2013:cumulative_update_23:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_19:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_20:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_8:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_9:*:*:*:*:*:*
Referenzen
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34523
- http://packetstormsecurity.com/files/163895/Microsoft-Exchange-ProxyShell-Remote...
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-3452...
- https://www.zerodayinitiative.com/advisories/ZDI-21-822/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-...