Yes. CISA added CVE-2021-20016 to its Known Exploited Vulnerabilities catalogue on 3 November 2021, which it does only when there is reliable evidence of active exploitation. CISA lists it as known to be used in ransomware campaigns. SonicWall SSLVPN SMA100 contains a SQL injection vulnerability that allows remote exploitation for credential access by an unauthenticated attacker.
What makes this CVE an active exploitation case?
CVE-2021-20016 is not just a disclosed weakness, it is a confirmed exploitation case. The practical significance is that defenders should treat it as an active exposure on any SonicWall SSLVPN SMA100 deployment that was reachable when the vulnerability was being used in the wild, especially where internet-facing access and weak monitoring made exploitation hard to see.
A useful way to read this case is that exploitation was not hypothetical. The combination of a remotely reachable SQL injection flaw and known use in ransomware campaigns means the question is no longer whether the issue could be abused, but whether an exposed appliance was already touched before remediation.
Why unauthenticated SQL injection on an SSL VPN appliance is high-risk
SQL injection on a remote access appliance is especially dangerous because the target often sits at a trust boundary. If an attacker can influence backend queries before authentication, they may be able to reach sensitive account material, session data, or other records that support further compromise. That is why remotely exploitable flaws on perimeter appliances tend to outrun ordinary web bugs in operational impact.
This is also why the flaw belongs in the same decision path as other exploited edge-device issues. Edge Device Security Guide is useful here because the control problem is not just patching, it is the full exposure of an internet-facing management surface that may already have been probed, bypassed, or abused.
The vulnerability category also matters. SQL Injection Prevention Guide explains the defensive mechanics behind this class of flaw, including why parameterised queries and narrow database privileges reduce the blast radius when application input reaches a query path.
What defenders should check before and after remediation
For a KEV-listed issue like this, the first question is exposure, not just patch status. Confirm whether any SMA100 systems were internet-facing, whether they were reachable during the exploitation window, and whether logs show unusual authentication attempts, unexpected admin activity, or signs of post-exploitation access to the device or adjacent systems.
Zero-Day and Exploited Vulnerabilities Guide aligns well with the incident-response side of this decision, because KEV placement should trigger emergency triage, compensating controls if patching lags, and compromise assessment rather than routine backlog handling.
If the appliance handled VPN authentication or stored reusable secrets, credential hygiene becomes part of the response. Rotate any credentials, keys, or sessions that could have been exposed through the affected device, and review whether the appliance was trusted to reach internal services that would widen blast radius after compromise.
Risk and Threat Considerations
Internet-facing VPN and gateway appliances are common targets because they sit close to the enterprise edge and often hold high-value access paths. When an unauthenticated flaw is paired with active exploitation, attackers can use it for initial foothold, credential access, and follow-on intrusion without first stealing a user password.
Failure mechanism: A remote attacker sends crafted input to the vulnerable SMA100 SQL query path, abuses database interaction to gain unauthorized access, and then leverages the appliance as a stepping stone into credentials, sessions, or internal reachability.
Impact: The likely outcomes are account compromise, unauthorized VPN access, lateral movement, and ransomware staging, especially where the device was long-lived, under-monitored, or allowed broad internal connectivity.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1190 — Exploit Public-Facing Application | Remote SQL injection on a VPN appliance is a public-facing exploitation path. |
| Recommendation — Map the appliance exposure to T1190 and hunt for post-exploitation activity. | ||
| CIS Controls v8 | CIS-7 — Continuous Vulnerability Management | KEV-listed exploitation requires prioritised detection, validation, and remediation of exposed systems. |
| Recommendation — Prioritise exposed SMA100 instances and verify remediation against active exploitation. | ||
| NIST SP 800-53 Rev 5 | RA-5 — Vulnerability Monitoring and Scanning | Active exploitation makes rapid identification and tracking of vulnerable assets essential. |
| SI-2 — Flaw Remediation | This CVE requires urgent flaw remediation and compensating action when patching is delayed. | |
| AC-17 — Remote Access | The flaw affects a remote access gateway, where access paths and trust boundaries are central. | |
| Recommendation — Continuously identify affected systems and track remediation to closure. Apply remediation or mitigation promptly and document any exception handling. Restrict and monitor remote access paths to reduce exposure from the appliance. | ||
Practitioner Guidance
What to prioritise: Treat KEV-listed exploitation as a response trigger, not a patch-management task. Prioritise external exposure, device containment, and compromise assessment before general remediation queues.
What to verify: Confirm whether the appliance was reachable from the internet, whether logs exist for the relevant period, and whether the device had access to sensitive directories, authentication sources, or internal management networks.
Decision rule: If you cannot prove the device was unreachable or uncompromised, assume exposure and investigate for credential reuse, session abuse, and downstream access from the VPN path.
Practitioner takeaway: For perimeter appliances, active exploitation changes the standard from "patch soon" to "assume breach until proven otherwise", because the real question is whether the device was used as an entry point before you fixed it.
Related resources from NHI Mgmt Group
- CVE-2021-20016 (SonicWall SSLVPN SMA100 SQL Injection)
- Is CVE-2021-20028 (SonicWall Secure Remote Access (SRA) SQL Injection) being exploited in the wild?
- Is CVE-2021-42258 (BQE BillQuick Web Suite SQL Injection) being exploited in the wild?
- Is CVE-2024-29824 (Ivanti Endpoint Manager (EPM) SQL Injection) being exploited in the wild?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org