SecBoard
Zurück zur CVE-Übersicht

CVE-2021-20021

CRITICAL(9.8)KEV — Aktiv ausgenutzt

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

Risk Signal Score80/100 — KRITISCH
  • CVSS 9.8 — Kritisch
  • EPSS 83% — sehr wahrscheinlich ausgenutzt
  • Im CISA KEV-Katalog (aktiv ausgenutzt)

CISA KEV

Bestätigt ausgenutzt

EPSS-Score

83.4%

Exploit-Wahrscheinlichkeit (30 Tage)

CVSS Score

9.8

Technische Schwere

SecBoard-Einordnung

CVE-2021-20021 betrifft SonicWall Email Security und ermöglicht es einem Angreifer, durch Senden einer speziell präparierten HTTP-Anfrage ein administratives Konto zu erstellen. Diese Schwachstelle stellt ein erhebliches Risiko für die Integrität und Vertraulichkeit der betroffenen Systeme dar, da sie unautorisierten administrativen Zugriff ermöglicht. Die Schwachstelle wird mit einem CVSS-Score von 9.8 (CRITICAL) bewertet und hat eine EPSS-Wahrscheinlichkeit von 83 %, was auf eine hohe Exploit-Wahrscheinlichkeit hindeutet. Besonders kritisch ist, dass diese im KEV-Katalog gelistet ist, was bedeutet, dass sie aktiv ausgenutzt wird und somit ein unmittelbares Risiko darstellt. Security-Teams sollten umgehend alle betroffenen SonicWall Email Security Produkte und Appliances prüfen und die vom Hersteller bereitgestellten Patches oder Mitigationen anwenden. Aufgrund der aktiven Ausnutzung und der hohen Kritikalität ist eine sofortige Priorisierung dieser Maßnahme unerlässlich, um unautorisierten Zugriff zu verhindern.

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

Beschreibung

A vulnerability in the SonicWall Email Security version 10.0.9.x allows an attacker to create an administrative account by sending a crafted HTTP request to the remote host.

Erkennung & Indikatoren

Ausnutzung

Actively exploited in the wild, confirmed by CISA KEV. Known usage in a SonicWall Email Security exploit chain along with CVE-2021-20022 and CVE-2021-20023 to achieve privilege escalation.

Threat-Hunting-Queries

Detects attempts to create administrative accounts via crafted HTTP requests on SonicWall Email Security. Specific HTTP request patterns for account creation may vary and require further investigation.

Sentinel/Defender KQL

DeviceNetworkEvents
| where RemotePort == 80 or RemotePort == 443 // Assuming HTTP/HTTPS traffic to the Email Security appliance
| where InitiatingProcessFileName contains "httpd" or InitiatingProcessFileName contains "nginx" // Common web server processes
| where RemoteUrl contains "/admin/" and RequestMethod == "POST" // Or other paths indicative of admin account creation
| where ResponseCode == 200 or ResponseCode == 302 // Successful or redirect after account creation
| project TimeGenerated, DeviceName, RemoteIP, RemotePort, RemoteUrl, RequestMethod, ResponseCode, InitiatingProcessFileName, InitiatingProcessCommandLine
| extend AlertMessage = "Potential CVE-2021-20021 exploitation attempt: Admin account creation via crafted HTTP request."

Splunk SPL

index=web sourcetype=access_combined (port=80 OR port=443) (uri_path="/admin/*" AND method="POST") (status=200 OR status=302)
| table _time, host, clientip, uri_path, method, status, user_agent
| rename clientip AS attacker_ip, uri_path AS requested_path
| eval AlertMessage = "Potential CVE-2021-20021 exploitation attempt: Admin account creation via crafted HTTP request."

Sigma

title: SonicWall Email Security CVE-2021-20021 Exploitation Attempt
author: SecBoard
date: 2024/07/30
logsource:
  category: webserver
  product: sonicwall_email_security
detection:
  selection:
    http_method: "POST"
    http_path|contains: "/admin/"
    http_status: [200, 302]
  condition: selection
fields:
  - http_method
  - http_path
  - http_status
  - source_ip
  - destination_ip
  - user_agent
tags:
  - attack.initial_access
  - cve.2021.20021
  - exploitation
level: critical

Elastic ES|QL

from logs-web-access*
| where http.request.method == "POST"
| where http.request.url.path like "/admin/%"
| where http.response.status_code == 200 or http.response.status_code == 302
| select @timestamp, host.name, source.ip, http.request.method, http.request.url.path, http.response.status_code, user_agent.original
| append {
    from logs-web-access*
    | where http.request.method == "POST"
    | where http.request.url.path like "/admin/%"
    | where http.response.status_code == 200 or http.response.status_code == 302
    | eval AlertMessage = "Potential CVE-2021-20021 exploitation attempt: Admin account creation via crafted HTTP request."
}

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:sonicwall:email_security:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_9000_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_3300_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_4300_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_8300_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_5000_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_7000_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_5050_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:email_security_appliance_7050_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:a:sonicwall:email_security_virtual_appliance:*:*:*:*:*:*:*:*
  • cpe:2.3:a:sonicwall:hosted_email_security:*:*:*:*:*:*:*:*

Referenzen