CVE-2021-20039

SonicWall SMA100: Improper Neutralization of Special Elements used in an OS Command

8.8 high EPSS 78.7%

Published 8 Dec 2021 Updated 5 Sep 2025 CNA: sonicwall

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.

Severity (CVSS)

8.8 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 78.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.5% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 15 Aug 2025):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected products

As the CNA lists them.

ProductVersions
SonicWall SMA100
affected 9.0.0.11-31sv and earlier
affected 10.2.0.8-37sv and earlier
affected 10.2.1.1-19sv and earlier
affected 10.2.1.2-24sv and earlier

Is my server affected?

This CVE is in SonicWall SMA100 of SonicWall, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Exploits and proof of concept

Other references

Source: the record CVE-2021-20039 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.