Wavense
VulnerabilitiesVendorsMy Stack
Wavense© 2026 Wavense. All rights reserved.Privacy PolicyTerms & Conditions
Vulnerabilities/CVE-2021-20016
Vulnerability dossier

CVE-2021-20016

SonicWall SSLVPN SMA100 SQL Injection Vulnerability

VendorsonicwallPublishedFeb 4, 2021SourceNVDWeaknessCWE-89
Act now

Actively exploited in the wild. Patch or mitigate immediately — don't wait for a maintenance window.

Severity
Critical · 9.8
CVSS base score
Exploitation
In the wild
CISA KEV
Predicted risk
40% model
EPSS forecast — overtaken by confirmed exploitation
Exposure
Internet-facing
Exploitable remotely, no login, no user action
01

What's the risk?

An unauthenticated attacker, remotely over the network, with no user interaction, can fully compromise the system — steal data, tamper with it and take it offline.

A SQL-Injection vulnerability in the SonicWall SSLVPN SMA100 product allows a remote unauthenticated attacker to perform SQL query to access username password and other session related information. This vulnerability impacts SMA100 build version 10.x.

How it's exploitedMITRE ATT&CK · inferred from weakness & vector
Initial Access
T1190Exploit Public-Facing Application

Inferred from the weakness type (CWE) and how the flaw is reached — the techniques an attacker would chain to exploit this. Real-world corroboration appears here as threat intel is folded in.

02

Who's exploiting it?

Corroborated threat activity referencing this CVE — with source and confidence, not inference.

Confirmed exploited in the wild. CISA KEV · catalogued Nov 3, 2021
campaignRansomware campaigns90CISA KEV

Named threat actors and observed ATT&CK techniques appear here as intel feeds are folded in — the ATT&CK chain above stays inferred until then.

03

Are we affected?

6
  • Affectedsonicwall · sma_100_firmware≥ 10.0.0.0, < 10.2.0.5-d-29sv↑ fixed 10.2.0.5-d-29sv
  • Affectedsonicwall · sma_200_firmwareall versions
  • Affectedsonicwall · sma_210_firmwareall versions
  • Affectedsonicwall · sma_400_firmwareall versions
  • Affectedsonicwall · sma_410_firmwareall versions
  • Affectedsonicwall · sma_500vall versions
  • 04

    What to do

    Generated by Wavense from the CVE record — an immediate mitigation and the permanent fix.

    1. !

      Mitigate now

      To reduce immediate risk, restrict network access to the SMA100 management interface to trusted IP ranges only, ideally leveraging a firewall. Implement enhanced logging and monitor for unusual SQL query patterns or suspicious login attempts. Enforce multi-factor authentication for all SMA100 users to add an additional layer of security.

    2. ✓

      Permanent fix

      The permanent fix involves upgrading the SonicWall SSLVPN SMA100 appliance to a patched build version. Specifically, affected SMA100 build version 10.x installations must be updated as per SonicWall's security advisory. Consult SonicWall's official documentation for the exact recommended patched versions and upgrade instructions.

    Technical details— weakness, CVSS vector & calculator, related CVEs

    Business impact

    A remote, unauthenticated attacker can exploit this vulnerability to execute arbitrary SQL queries against the SMA100 appliance. This allows access to sensitive data including usernames, passwords, and session details, potentially leading to unauthorized network access, data breaches, and complete compromise of internal resources.

    Weakness

    1
    CWE-89Common Weakness Enumeration · MITRE definition

    CVSS 3.1 details

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    0.0
    / 10.0 base
    Critical severity
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Exploitability metrics
    Attack VectorAV
    Remotely exploitable across a network
    Attack ComplexityAC
    No special conditions required
    Privileges RequiredPR
    No authorization needed
    User InteractionUI
    No user participation needed
    Impact metrics
    ScopeS
    Impact confined to the vulnerable component
    ConfidentialityC
    Total loss of confidentiality
    IntegrityI
    Total loss of integrity
    AvailabilityA
    Total loss of availability

    Related vulnerabilities

    Other CVEs affecting sma 100 firmware

    NVD
    9.8Critical
    CVE-2021-20038KEV⚙ WeaponizedExploit likely

    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.

    sonicwallCWE-121Stack-based Buffer OverflowNetworkLow effortNo authNo interactionCIA
    2021-12-07
    NVD
    9.8Critical
    CVE-2021-20028KEV

    Improper neutralization of a SQL Command leading to SQL Injection vulnerability impacting end-of-life Secure Remote Access (SRA) products, specifically the SRA appliances running all 8.x firmware and 9.0.0.9-26sv or earlier

    sonicwallCWE-89SQL InjectionNetworkLow effortNo authNo interactionCIA
    2021-08-04
    NVD
    9.1Critical
    CVE-2024-38475KEVExploit likely

    Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.

    sonicwallCWE-116Improper EncodingNetworkLow effortNo authNo interactionCIA
    2024-07-01
    NVD
    7.5High
    CVE-2019-7483KEV

    In SonicWall SMA100, an unauthenticated Directory Traversal vulnerability in the handleWAFRedirect CGI allows the user to test for the presence of a file on the server.

    sonicwallCWE-22Path TraversalNetworkLow effortNo authNo interactionCIA
    2019-12-18
    NVD
    7.5High
    CVE-2019-7481KEVExploit likely

    Vulnerability in SonicWall SMA100 allow unauthenticated user to gain read-only access to unauthorized resources. This vulnerablity impacted SMA100 version 9.0.0.3 and earlier.

    sonicwallCWE-89SQL InjectionNetworkLow effortNo authNo interactionCIA
    2019-12-17
    NVD
    7.2High
    CVE-2023-44221KEVExploit likely

    Improper neutralization of special elements in the SMA100 SSL-VPN management interface allows a remote authenticated attacker with administrative privilege to inject arbitrary commands as a 'nobody' user, potentially leading to OS Command Injection Vulnerability.

    sonicwallCWE-78OS Command InjectionNetworkLow effortAdmin privNo interactionCIA
    2023-12-05
    NVD
    6.5Medium
    CVE-2021-20035KEV

    Improper neutralization of special elements in the SMA100 management interface allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user which potentially leads to DoS.

    sonicwallCWE-78OS Command InjectionNetworkLow effortLow privNo interactionCIA
    2021-09-27
    NVD
    4.5Medium
    CVE-2025-40603

    A potential exposure of sensitive information in log files in SonicWall SMA100 Series appliances may allow a remote, authenticated administrator, under certain conditions to view partial users credential data.

    sonicwallCWE-532Information Leak Through LogsNetworkLow effortAdmin privUser neededCIA
    2025-10-31
    0.0
    / 10.0 base
    Critical severity
    Key facts
    CVE ID
    CVE-2021-20016
    Published
    Feb 4, 2021
    Last modified
    Aug 12, 2026
    CVSS
    9.8 (v3.1)
    EPSS
    40.04%
    In CISA KEV
    Yes
    Confidence
    100/100
    Weakness
    CWE-89
    Fixed in
    10.2.0.5-d-29sv
    Timeline
    1. Feb 4, 2021Published to NVDNVD
    2. Aug 12, 2026Record last modifiedNVD
    3. Sep 20, 2026AI analysis generatedWavense
    View on NVD