Attackers exploited old flaws to breach SonicWall SMA appliances (CVE-2024-38475, CVE-2023-44221)
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2023-44221 | OS Command Injection in SonicWall SMA100 SSL-VPN Management Interface SonicWall SMA100 appliances contain an OS command injection flaw (CWE-78) caused by improper neutralization of special elements in the SSL-VPN management interface. A remote attacker who is already authenticated with administrative privileges can submit crafted input containing special characters, causing arbitrary operating system commands to be executed on the appliance. Injected commands run as the low-privilege 'nobody' user, which limits immediate access but still yields high-impact confidentiality, integrity, and availability outcomes (CVSS 7.2) and can provide a foothold for further compromise. Affected products are the SMA 200, SMA 210, SMA 400, and SMA 410 appliance firmware and the SMA 500v virtual appliance firmware. The flaw carries a high EPSS score (75.1%, 99th percentile), was added to CISA's Known Exploited Vulnerabilities catalog on 2025-05-01, and reporting indicates both SonicWall and CISA have confirmed active in-the-wild exploitation of this and related SMA100 flaws. Do: Upgrade affected SMA100 appliances (SMA 200/210/400/410 and SMA 500v) to the latest vendor-patched firmware per SonicWall's advisory, as required under CISA KEV/BOD 22-01 timelines. Until patched, restrict access to the SSL-VPN management interface to trusted networks and enforce MFA on administrative accounts, since exploitation requires an authenticated administrative session. Given confirmed in-the-wild exploitation, review appliance logs for unauthorized administrative activity or command execution and rotate credentials if compromise is suspected. | 7.2 | 76% | KEV |
| large≈tens of thousands of internet-exposed SMA100 SSL-VPN appliances (order 10k–100k) | |
| CVE-2024-38475 | Improper Output Escaping in Apache HTTP Server mod_rewrite Enables File Disclosure/Code Execution CVE-2024-38475 is an improper escaping of output flaw (CWE-116) in the mod_rewrite module of the Apache HTTP Server. It is triggered when mod_rewrite maps a request URL to a filesystem location and mishandles encoded characters, allowing a crafted request to reach files that the server is permitted to serve but that were never intentionally or directly reachable by any URL. An attacker can abuse this to disclose source code (for example, serving raw application files) or, depending on the server's configuration and handlers, achieve code execution. Any Apache HTTP Server deployment that uses mod_rewrite is potentially affected; the source data does not specify the vulnerable version range. The flaw was added to CISA's Known Exploited Vulnerabilities catalog on 2025-05-01, confirming exploitation in the wild, and EPSS assigns it a 100% probability of exploitation within 30 days (100th percentile), though no public proof-of-concept is known and ransomware use is unconfirmed. Do: Inventory Apache HTTP Server deployments, prioritize internet-facing ones, and check whether mod_rewrite is in use (RewriteRule directives in server config, virtual hosts, or .htaccess files); upgrade to the vendor's fixed release, 2.4.60 or later. If immediate upgrade is not possible, follow vendor guidance to harden or constrain mod_rewrite rules, and treat the issue as actively exploited per CISA KEV, applying BOD 22-01 mitigations for cloud service usage or discontinuing use if mitigation is unavailable. | 9.1 | 100% | KEV |
| masslikely hundreds of thousands to over a million internet-exposed Apache HTTP Server instances, with only the mod_rewrite-enabled subset vulnerable |
Full article366 words · extracted from helpnetsecurity.com · click to collapse
Attackers have been using two previously known vulnerabilities (CVE-2024-38475, CVE-2023-44221) to compromise SonicWall secure mobile access devices, the vendor has confirmed by updating the associated advisories.

CISA has added the two flaws to its Known Exploited Vulnerabilities catalog, and Watchtowr researchers have analyzed how they can be being chained together and have released a proof-of-concept exploit (or, as they call it, a “Detection Artefact Generator”).
The exploited vulnerabilities (CVE-2024-38475, CVE-2023-44221)
Sonicwall SMA100 appliances are VPN gateways used by organizations to allow employees to safely access enterprise applications.
CVE-2024-38475 is a path traversal vulnerability in Apache HTTP Server v2.4.59 and earlier, which allows unauthenticated attackers to map URLs to file system locations that are permitted to be served by the server and, ultimately, to read any file the webserver can read. (Sonicwall’s SMA 100 appliances use a modified version of the Apache HTTP Server.)
Watchtowr researchers discovered that they could use this vulnerability to download the SQLite database containing – among other things – session identifiers for currently active sessions and then extract a currently logged-in administrator session ID and use that info to gain administrative control over vulnerable appliances.
CVE-2023-44221 is an OS command injection vulnerability in the appliance’s SSL-VPN management interface that can be only leveraged by authenticated attackers.
Luckily for the attackers, CVE-2024-38475 allows them to bypass authentication and gain administrative privileges on the device, and CVE-2023-44221 allows them to inject commands as a nobody user.
What to do?
The two vulnerabilities affect Sonicwall SMA 200, SMA 210, SMA 400, SMA 410, and SMA 500v devices.
CVE-2023-44221 was patched in December 2023 in firmware version 10.2.1.10-62sv, CVE-2024-38475 in December 2024 in firmware version 10.2.1.14-75sv and later.
CISA and Sonicwall haven’t shared details about what the attackers are doing once they’ve compromised targeted devices, and we still don’t know how long the attackers have been leveraging the two flaws.
Unfortunately, Sonicwall SMA appliances are regularly breached through both known and previously unknown (aka “zero-day”) vulnerabilities.
Organizations that don’t patch their devices regularly should investigate whether they’ve been compromised in these and earlier attacks.

Subscribe to our breaking news e-mail alert to never miss out on the latest breaches, vulnerabilities and cybersecurity threats. Subscribe here!

Text extracted automatically; images, tables and formatting may be missing. Original: https://www.helpnetsecurity.com/2025/05/02/sonicwall-cve-2024-38475-cve-2023-44221-exploited/