CVE-2021-20039Sma 200 Firmware OS Command Injection
Improper neutralization of special elements in the SMA100 management interface '/cgi-bin/viewcert' POST http method allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user.
Published Dec 8, 2021 · Updated Sep 5, 2025
Key Facts
Patch immediately- CVE-2021-20039 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Sma 200 Firmware (Sonicwall), Sma 210 Firmware (Sonicwall), Sma 400 Firmware (Sonicwall) and 3 more products.
- It is exploited in the wild, listed in Industry KEV feed since Mar 30, 2024. Public exploit code is available.
- EPSS estimates a 79% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
79%
Higher than 99.5% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
91/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Mar 30, 2024
843 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
3
Reports of active use
Advisories And Exploit References
- advisoryhttps://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
- advisoryhttps://securityaffairs.co/
- advisoryhttps://securityaffairs.co/wordpress/125400/security/sonicwall-sma-100-devices-flaws.html
- advisoryhttps://threatpost.com/critical-sonicwall-vpn-bugs-appliance-takeover/176869/
- advisoryhttps://us-cert.cisa.gov/ncas/current-activity/2021/12/08/sonicwall-releases-security-advisory-sma-100-series-appliances
- advisoryhttps://www.cisecurity.org/advisory/multiple-vulnerabilities-in-sonicwall-sma-100-series-could-allow-for-arbitrary-code-execution_2021-157/
Description
Improper neutralization of special elements in the SMA100 management interface '/cgi-bin/viewcert' POST http method allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Mar 30, 2024 | n/a | Not reported |
Affected Products
16 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Sma 200 FirmwareSonicwall | 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv | n/a |
| Sma 210 FirmwareSonicwall | 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv | n/a |
| Sma 400 FirmwareSonicwall | 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv | n/a |
| Sma 410 FirmwareSonicwall | 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv | n/a |
| Sma 500v FirmwareSonicwall | 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv | n/a |
Timeline
Publicly disclosed
Dec 8, 2021
Added to Industry KEV feed
Mar 30, 2024
Last updated
Sep 5, 2025
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorypsirt.global.sonicwall.com · SNWLID-2021-0026
- advisorysecurityaffairs.co
- advisorysecurityaffairs.co · sonicwall-sma-100-devices-flaws.html
- advisorythreatpost.com · 176869
- advisoryus-cert.cisa.gov · sonicwall-releases-security-advisory-sma-100-se…
FAQ
Common Questions.
Improper neutralization of special elements in the SMA100 management interface '/cgi-bin/viewcert' POST http method allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user.
Affected: Sma 200 Firmware (Sonicwall) versions 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv; Sma 210 Firmware (Sonicwall) versions 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv; Sma 400 Firmware (Sonicwall) versions 10.2.0.8-37sv, 10.2.1.1-19sv, 9.0.0.11-31sv, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Mar 30, 2024.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2021-20039 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo