SQL Injection in SonicWall SRA Appliances
CVE-2021-20028 is an SQL injection vulnerability caused by improper neutralization of special elements in SQL commands in end-of-life SonicWall Secure Remote Access (SRA) appliances. It affects all 8.x firmware versions and 9.x firmware through 9.0.0.9-26sv. The vulnerable feature was deprecated in 10.x firmware, and SMA 1000 Series products are unaffected. The vulnerability has been exploited in the wild, including in a campaign leveraging it alongside CVE-2019-7481 to deploy LockBit ransomware. The specific vulnerable function is not identified.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Exploitation enables SQL command injection in affected appliances. The precise database operations, accessible information, and direct service-disruption effects are not established. A ransomware campaign leveraged CVE-2021-20028 alongside CVE-2019-7481 to deploy LockBit; that combined activity does not establish the standalone capabilities of this vulnerability.
If you can’t patch tonight, do this now.
Decommission end-of-life SRA appliances that cannot receive supported security updates. No vulnerability-specific interim workaround is established.
Patch, then assume compromise.
For upgrade-capable affected appliances, SonicWall identified SMA/SRA firmware 9.0.0.10-28sv and higher as fixed. Firmware 9.0.0.10 introduced code strengthening that prevented exploitation, and all 10.x versions are unaffected because the vulnerable feature was deprecated. Later guidance states that end-of-life SRA appliances have no available patches and should be decommissioned. Replace unsupported appliances rather than relying on historical firmware fixes as an ongoing support strategy.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.