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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SonicWall | SonicWall SMA100 | 10.2.0.8-37sv and earlier, 10.2.1.1-19sv and earlier, 10.2.1.2-24sv and earlier | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
jbaines-r7/badblood ★ 95 · Jan 11, 2022
SonicWall SMA-100 Unauth RCE Exploit (CVE-2021-20038)
-
vesperp/CVE-2021-20038-SonicWall-RCE ★ 1 · Aug 8, 2022
-
anir0y/sonicwall-audit-toolkit ★ 0 · Feb 23, 2026
SonicWall security audit toolkit with vulnerable CTF lab (CVE-2021-20038, CVE-2024-53704)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- SonicWall SMA100 Stack - Buffer Overflow/Remote Code Execution http/cves/2021/CVE-2021-20038.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.