CVE-2021-20016: A SQL-Injection vulnerability in the SonicWall SSLVPN SMA100 product allows a remote unauthenticated attacker to perform SQL query to access…
Noroxi assessment
Priority: Now (action score 81/100)
- CISA has confirmed exploitation in the wild (Nov 3, 2021); it is known to be used in ransomware campaigns. Remediation deadline for US federal agencies: Nov 17, 2021.
- Probability of exploitation in the next 30 days: 40% (FIRST EPSS); higher than 98.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- According to the record, no fixed version is available yet.
- Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Patch today or shut off access. Until a fix is released, restrict access to the affected component and follow the vendor's advisory.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS
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.
- Published
- Feb 4, 2021
- Updated
- Aug 12, 2026
- EPSS
- 40.0% · 98th percentile
- CWE
- CWE-89
Report tools
Action score
81
Patch today or shut off access.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 12 / 30 · 40.0%
CISA SSVC decision
- Exploitation
- active
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Nov 3, 2021. That signals real attacks, not theory.
Remediation deadline for US federal agencies: Nov 17, 2021.
Known to be used in ransomware campaigns.
Get told when this record changes
- In CISA KEV: exploitation in the wild confirmed
- Weaponized exploit exists
- No fixed version yet
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| sonicwall | sma 100 firmware | cpe:2.3:o:sonicwall:sma_100_firmware |
| sonicwall | sma 100 | cpe:2.3:h:sonicwall:sma_100 |
| sonicwall | sma 200 firmware | cpe:2.3:o:sonicwall:sma_200_firmware |
| sonicwall | sma 200 | cpe:2.3:h:sonicwall:sma_200 |
| sonicwall | sma 210 firmware | cpe:2.3:o:sonicwall:sma_210_firmware |
| sonicwall | sma 210 | cpe:2.3:h:sonicwall:sma_210 |
| sonicwall | sma 400 firmware | cpe:2.3:o:sonicwall:sma_400_firmware |
| sonicwall | sma 400 | cpe:2.3:h:sonicwall:sma_400 |
| sonicwall | sma 410 firmware | cpe:2.3:o:sonicwall:sma_410_firmware |
| sonicwall | sma 410 | cpe:2.3:h:sonicwall:sma_410 |
| sonicwall | sma 500v | cpe:2.3:a:sonicwall:sma_500v |
Using sma 100 firmware? Add it to your stack and be the first to know about CVEs like this one. (VPN gateway)
Versions reported by the vendor
Affected version ranges reported by the assigning authority (sonicwall). Independent of NVD's CPE analysis and usually ahead of it.
SonicWall SonicWall SMA100
- SMA100 build version 10.xaffected
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- sonicwall sma 100 firmware10.0.0.0 and later · before 10.2.0.5-d-29sv
- sonicwall sma 200 firmwareall versions
- sonicwall sma 210 firmwareall versions
- sonicwall sma 400 firmwareall versions
- sonicwall sma 410 firmwareall versions
- sonicwall sma 500vall versions
Same product
sonicwall: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-7481Vulnerability in SonicWall SMA100 allow unauthenticated user to gain read-only access to unauthorized resources.KEV90Now
- CVE-2019-7483In SonicWall SMA100, an unauthenticated Directory Traversal vulnerability in the handleWAFRedirect CGI allows the user to test for the…KEV61This week
- CVE-2019-7482Stack-based buffer overflow in SonicWall SMA100 allows an unauthenticated user to execute arbitrary code in function libSys.so.42Plan
Published before and after this one in the same product
- ← EarlierCVE-2019-7486Dec 18, 2019 · Code injection in SonicWall SMA100 allows an authenticated user to execute arbitrary code in viewcacert CGI script.35Monitor
- ← EarlierCVE-2020-5146Jan 8, 2021 · A vulnerability in SonicWall SMA100 appliance allow an authenticated management-user to perform OS command injection using HTTP POST…29Monitor
- Later →CVE-2021-20049Dec 22, 2021 · A vulnerability in SonicWall SMA100 password change API allows a remote unauthenticated attacker to perform SMA100 username enumeration…30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
No fix version is recorded for this entry. Check the references for vendor advisories.
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- CISA KEV+272 d
- TodayNov 14, 2026+2109 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-23-0138 · Mar 9, 2023(SonicWall Güvenlik Uyarısı)
- TR-21-0978 · Dec 9, 2021(SonicWall Güvenlik Güncellemesi)
- TR-21-0159 · Feb 22, 2021(SonicWall Güvenlik Güncellemesi Yayınladı)
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = '" + owner + "'"
);Fixed
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = $1",
[owner]
);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log (0)
No changes recorded on tracked fields yet. Score, KEV, exploit maturity and fix status changes appear here.
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.