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

CVE-2021-20028

SonicWall SRA SQL Injection Vulnerability

VendorsonicwallPublishedAug 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
30% 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.

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

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 Mar 28, 2022
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_210_firmwareall versions
  • Affected
sonicwall · sma_410_firmware
all versions
  • Affectedsonicwall · sma_500v_firmwareall versions
  • Affectedsonicwall · sra_1600_firmwareall versions
  • Affectedsonicwall · sra_4600_firmwareall versions
  • Affectedsonicwall · sra_va_firmwareall versions
  • 04

    What to do

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

    1. !

      Mitigate now

      Given the end-of-life status of the affected SRA products, immediate mitigation involves restricting network access to the appliance only from trusted and necessary IP addresses. Implement robust network segmentation to isolate the SRA device from critical internal assets, and enable multifactor authentication for all SRA users. Enhance monitoring for suspicious activities, such as unusual database queries or unauthorized access attempts.

    2. ✓

      Permanent fix

      The permanent resolution requires migrating away from the end-of-life Secure Remote Access (SRA) appliances to a currently supported and patched secure remote access solution. Organizations should transition to supported SonicWall SMA 100 or SMA 1000 series products. If immediate migration is not feasible, consider decommissioning the SRA appliance entirely if its functionality is no longer critical.

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

    Business impact

    An attacker can exploit this SQL Injection to execute arbitrary database queries, potentially leading to unauthorized access to sensitive data, modification of system configurations, or complete compromise of the SRA appliance. This could grant attackers a foothold into the internal network, causing significant data breaches, operational disruptions, and severe reputational damage to the organization.

    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 210 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-20016KEV

    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.

    sonicwallCWE-89SQL InjectionNetworkLow effortNo authNo interactionCIA
    2021-02-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.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-20028
    Published
    Aug 4, 2021
    Last modified
    Oct 31, 2025
    CVSS
    9.8 (v3.1)
    EPSS
    30.08%
    In CISA KEV
    Yes
    Confidence
    100/100
    Weakness
    CWE-89
    Timeline
    1. Aug 4, 2021Published to NVDNVD
    2. Oct 31, 2025Record last modifiedNVD
    3. Aug 19, 2026AI analysis generatedWavense
    View on NVD