CVE-2021-20038
Last modified
CVE-2021-20038 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. CISA has confirmed active exploitation in the wild. EPSS estimates a 99.91% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sonicwall | Sma 200 Firmware | 10.2.0.8-37sv |
| Sonicwall | Sma 200 Firmware | 10.2.1.1-19sv |
| Sonicwall | Sma 200 Firmware | 10.2.1.2-24sv |
| Sonicwall | Sma 210 Firmware | 10.2.0.8-37sv |
| Sonicwall | Sma 210 Firmware | 10.2.1.1-19sv |
| Sonicwall | Sma 210 Firmware | 10.2.1.2-24sv |
| Sonicwall | Sma 410 Firmware | 10.2.0.8-37sv |
| Sonicwall | Sma 410 Firmware | 10.2.1.1-19sv |
| Sonicwall | Sma 410 Firmware | 10.2.1.2-24sv |
| Sonicwall | Sma 400 Firmware | 10.2.0.8-37sv |
| Sonicwall | Sma 400 Firmware | 10.2.1.1-19sv |
| Sonicwall | Sma 400 Firmware | 10.2.1.2-24sv |
| Sonicwall | Sma 500v Firmware | 10.2.0.8-37sv |
| Sonicwall | Sma 500v Firmware | 10.2.1.1-19sv |
| Sonicwall | Sma 500v Firmware | 10.2.1.2-24sv |
References
- https://github.com/jbaines-r7/badbloodExploit, Third Party Advisory
- https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/Exploit, Third Party Advisory
- https://github.com/jbaines-r7/badbloodExploit, Third Party Advisory
- https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-20038?
How severe is CVE-2021-20038?
How do I fix CVE-2021-20038?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20030SonicWall GMS is vulnerable to file path manipulation result…7.5
- CVE-2021-20031A Host Header Redirection vulnerability in SonicOS potential…6.1
- CVE-2021-20032SonicWall Analytics 2.5 On-Prem is vulnerable to Java Debug …9.8
- CVE-2021-20034An improper access control vulnerability in SMA100 allows a …9.1
- CVE-2021-20035Improper neutralization of special elements in the SMA100 ma…6.5
- CVE-2021-20037SonicWall Global VPN Client 4.10.5 installer (32-bit and 64-…7.8
- CVE-2021-20039Improper neutralization of special elements in the SMA100 ma…8.8
- CVE-2021-2004Vulnerability in the Siebel Core - Server BizLogic Script pr…4.3
- CVE-2021-20040A relative path traversal vulnerability in the SMA100 upload…7.5
- CVE-2021-20041An unauthenticated and remote adversary can consume all of t…7.5
- CVE-2021-20042An unauthenticated remote attacker can use SMA 100 as an uni…9.8
- CVE-2021-20043A Heap-based buffer overflow vulnerability in SonicWall SMA1…8.8
Are you affected by CVE-2021-20038?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
