# CVE-2023-44221: SonicWall SMA100 admin command injection, exploited in the wild

A command injection in the SMA100 management interface lets an authenticated admin run commands as the nobody user. SonicWall says it is potentially exploited, CISA lists it as exploited, and watchTowr has published a public proof of concept that chains it with CVE-2024-38475.

- Vendor: SonicWall, SonicWall SMA100 SSL-VPN management interface
- Severity: HIGH (CVSS 3.1 7.2)
- Exploited (CISA KEV): yes, added 2025-05-01
- EPSS: 76.3% on 2026-12-02
- Public exploit: yes
- Patch available: yes
- Vendor advisory: SNWLID-2023-0018, https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0018
- Published: 2023-12-05; updated: 2026-10-18
- Page: https://patchtonight.com/cve/CVE-2023-44221/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| SMA100 (SMA 200, SMA 210, SMA 400, SMA 410, SMA 500v) 10.2.1.9-57sv and earlier | 10.2.1.10-62sv or later (10.2.1.14-75sv or later also closes the chained file-read bug) |

## What it is

An **OS command injection** (CWE-78) in the SSL-VPN management interface of the SonicWall SMA100 series. An attacker who is already logged in as an administrator can run commands on the appliance as the `nobody` user. SonicWall rates it CVSS 7.2 (High) because it needs admin rights.

The rating understates the risk. watchTowr found that the bug sits in the `traceroute6` handler behind `/spog/diagnostics`, and that `ping6` and other diagnostic commands are affected too. Its input escaping has no length limit, so a long run of double quotes overflows a buffer and breaks out of the quoted command.

It matters because the admin login can be skipped. watchTowr chained it with **CVE-2024-38475**, an Apache `mod_rewrite` bug that lets an unauthenticated attacker read files the `nobody` user can read. The attacker reads `/tmp/temp.db`, which holds active admin session IDs and CSRF tokens, hijacks a session, then uses this bug for a shell. watchTowr published a proof of concept for the chain.

SonicWall updated its advisory on 2025-04-29 to say the flaw is "potentially being exploited in the wild". CISA added it to KEV on 2025-05-01; ransomware use is not reported. SonicWall has given no technical details of the attacks and has not named an actor.

## Am I affected?

You're affected if you run an **SMA100 appliance** (SMA 200, 210, 400, 410 or 500v) on firmware **10.2.1.9-57sv or earlier**. The CVE record lists no other versions or configuration conditions.

The exploit needs access to the management interface, either with a valid admin login or via the session theft above. Check whether yours is reachable from untrusted networks. SonicWall's advisory page didn't load for us, so confirm the version list there.

Per Security Affairs, SMA100 devices on 10.2.1.14-75sv are not vulnerable to CVE-2024-38475 or the related session hijack.

## What to do

1. **Upgrade to 10.2.1.14-75sv or later.** The fix for this CVE is 10.2.1.10-62sv, but .14-75sv also closes the file-read bug that makes the chain pre-authentication.
2. **Restrict the management interface** to trusted networks if you can't patch tonight. Neither the CVE record nor the sources we opened give a vendor workaround, so we list no menu path.
3. **Review for unauthorised logins.** SonicWall tells customers to check their SMA devices for unauthorised logins, per BleepingComputer.
4. **If the device was exposed while vulnerable, assume admin sessions may have leaked.** End active admin sessions, rotate admin and VPN user credentials, and check the appliance for signs of compromise. If you find any, rebuild it on fixed firmware.

## Detection

SonicWall has not published indicators for this CVE. These patterns come from watchTowr's proof of concept, not from observed attacks. Use them to hunt, not as proof of compromise:

- **File-read requests**, such as `GET /tmp/temp.db%3f.1.1.1.1a-1.css` (possibly with a `Range` header) and `GET /mnt/ram/var/log/httpd.log%3f.1.1.1.1a-1.css`. Look for `%3f` combined with `.css` in a URI that points outside the web root.
- **Command injection requests**: `POST /spog/diagnostics` with `tool=TRACEROUTE6_CMD` and a `target` value containing long runs of `"`.
- **Unexpected admin sessions or logins** from addresses you don't recognise, especially soon after the file-read requests.

Relevant paths on the appliance: `/tmp/temp.db`, `/usr/src/EasyAccess/var/logs/httpd.log` and `/usr/src/EasyAccess/www/conf/httpd.conf`.

## Sources

- [SonicWall advisory SNWLID-2023-0018](https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0018)
- [CVE record CVE-2023-44221](https://cveawg.mitre.org/api/cve/CVE-2023-44221)
- [CISA KEV entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-44221)
- [watchTowr Labs, SonicBoom](https://labs.watchtowr.com/sonicboom-from-stolen-tokens-to-remote-shells-sonicwall-sma100-cve-2023-44221-cve-2024-38475/)
- [watchTowr proof of concept repository](https://github.com/watchtowrlabs/watchTowr-vs-SonicWall-PreAuth-RCE-Chain)
- [BleepingComputer](https://www.bleepingcomputer.com/news/security/sonicwall-sma100-vpn-vulnerabilities-now-exploited-in-attacks/)
- [Security Affairs](https://securityaffairs.com/?p=177278)
- [Infosecurity Magazine](https://www.infosecurity-magazine.com/news/cisa-exploitation-sonicwall/)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
