Patchfirst
CVE-2021-20038 KEVRansomwarePublic exploit Critical · 9.8 EPSS 99.9%

SonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability

SonicWall · SMA 100 Appliances

Summary

A stack-based buffer overflow in the mod_cgi module's handling of environment variables in the Apache httpd server on SonicWall SMA 100 Appliances (SMA 200, 210, 400, 410 and 500v) lets an attacker trigger memory corruption. A remote, unauthenticated attacker with network access to the appliance, requiring no user interaction and no special configuration, could potentially execute code as the 'nobody' user on the appliance.

Official description · NVD

A Stack-based buffer overflow vulnerability in SMA100 Apache httpd server's mod_cgi module environment variables allows a remote unauthenticated attacker to potentially execute code as a 'nobody' user in the appliance. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances firmware 10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24sv and earlier versions.

Breakdown
79.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 51 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 34 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+34 days
  3. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVknown ransomware use; EU database agrees+51 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Remote unauthenticated exploit of public-facing httpd server

allows a remote unauthenticated attacker to potentially execute code
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Code execution as nobody user

allows a remote unauthenticated attacker to potentially execute code
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2021-20038 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag (3 duplicates merged)
↑ ↓ chooseEnter openEsc close