SecBoard
Zurück zur CVE-Übersicht

CVE-2021-34473

CRITICAL(9.1)KEV — Aktiv ausgenutzt

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Risk Signal Score83/100 — KRITISCH
  • CVSS 9.1 — 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.1

Technische Schwere

SecBoard-Einordnung

CVE-2021-34473 ist eine kritische () Schwachstelle in Microsoft Exchange Server. Ein Angreifer kann diese Schwachstelle ausnutzen, um beliebigen Code auf dem betroffenen Server auszuführen. Dies kann zu einer vollständigen Kompromittierung des Systems führen.

KI-gestützte Einordnung auf Basis der NVD-Daten.

Beschreibung

Microsoft Exchange Server Remote Code Execution Vulnerability

Erkennung & Indikatoren

Ausnutzung

Aktiv ausgenutzt (CISA KEV). Die Schwachstelle ermöglicht Remote Code Execution (RCE) ohne Authentifizierung. Sie wird in Verbindung mit anderen Schwachstellen ausgenutzt, um beliebigen Code im Kontext von SYSTEM auszuführen. CISA hat die Schwachstelle am 2021-11-03 zum KEV-Katalog hinzugefügt und eine Frist bis zum 2021-11-17 gesetzt, um Updates anzuwenden.

Threat-Hunting-Queries

Die Schwachstelle betrifft den Autodiscover-Dienst von Microsoft Exchange Server und resultiert aus fehlender Validierung von URIs vor dem Zugriff auf Ressourcen, was zu Server Side Request Forgery (SSRF) führt. In Kombination mit anderen Schwachstellen kann dies zu Remote Code Execution (RCE) führen. Die Detektion sollte sich auf ungewöhnliche Anfragen an den Autodiscover-Dienst konzentrieren, in

Sentinel/Defender KQL

DeviceProcessEvents
| where InitiatingProcessFileName =~ "w3wp.exe" or InitiatingProcessFileName =~ "powershell.exe" // Exchange worker process or potential post-exploitation
| where ProcessCommandLine contains "autodiscover" or InitiatingProcessCommandLine contains "autodiscover" // Focus on Autodiscover context
| where ProcessCommandLine contains "http" or ProcessCommandLine contains "https" // Look for external/unusual connections
| where not (ProcessCommandLine contains "localhost" or ProcessCommandLine contains "127.0.0.1") // Exclude common internal calls
| summarize count() by DeviceName, InitiatingProcessFileName, ProcessCommandLine, RemoteIP, RemotePort
| where count_ > 5 // Adjust threshold based on baseline
| project DeviceName, InitiatingProcessFileName, ProcessCommandLine, RemoteIP, RemotePort

Splunk SPL

index=ms_exchange sourcetype=iis_access_logs uri_path="*autodiscover.svc*" (http_method=POST OR http_method=GET) 
| regex _raw!="(?i)(localhost|127\.0\.0\.1)" 
| stats count by host, uri_path, http_method, client_ip 
| where count > 5 
| table host, uri_path, http_method, client_ip, count

Sigma

title: Exchange Autodiscover SSRF/RCE Attempt
status: experimental
description: Detects suspicious activity related to Microsoft Exchange Autodiscover service, potentially indicating exploitation of CVE-2021-34473 (ProxyShell).
references:
  - https://www.zerodayinitiative.com/advisories/ZDI-21-821/
  - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-34473
logsource:
  product: windows
  service: iis
detection:
  selection:
    cs_uri_stem|contains: 'autodiscover.svc'
    cs_method: ['POST', 'GET']
    c_ip|!startswith: ['10.', '172.16.', '172.17.', '172.18.', '172.19.', '172.20.', '172.21.', '172.22.', '172.23.', '172.24.', '172.25.', '172.26.', '172.27.', '172.28.', '172.29.', '172.30.', '172.31.', '192.168.', '127.0.0.1']
  condition: selection
fields:
  - c_ip
  - cs_uri_stem
  - cs_method
  - sc_status
type: log
falsepositives:
  - Legitimate Autodiscover requests from external clients (requires tuning based on environment)
level: high

Elastic ES|QL

from iis_logs
| where url.path : "*autodiscover.svc*"
| where http.request.method in ("POST", "GET")
| where not (source.ip : ("10.*", "172.16.*", "172.17.*", "172.18.*", "172.19.*", "172.20.*", "172.21.*", "172.22.*", "172.23.*", "172.24.*", "172.25.*", "172.26.*", "172.27.*", "172.28.*", "172.29.*", "172.30.*", "172.31.*", "192.168.*", "127.0.0.1"))
| summarize count() by host.name, url.path, http.request.method, source.ip
| where count > 5
| project host.name, url.path, http.request.method, source.ip, count

SecBoard-generated · behavioral · requires customizationVon 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