CVE-2021-20040 Path traversal in SonicWall SMA100
Remote unauthenticated attackers can upload malicious files via path traversal in SMA100 appliances, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-20040?
CVE-2021-20040 is a high-severity path traversal vulnerability in SonicWall SMA100, published on 8 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A relative path traversal vulnerability in the SMA100 upload funtion allows a remote unauthenticated attacker to upload crafted web pages or files as a 'nobody' user. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances.
Which versions are affected by CVE-2021-20040?
It affects 5 products.
Products include Sonicwall Sma 200 Firmware, Sonicwall Sma 210 Firmware, Sonicwall Sma 400 Firmware, Sonicwall Sma 410 Firmware, Sonicwall Sma 500v Firmware.
How do I fix CVE-2021-20040?
No fix has been published for CVE-2021-20040 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-20040 being exploited?
There is no known exploitation of CVE-2021-20040 in the wild and no public exploit code.
Other vulnerabilities in SonicWall SMA100
- CVE-2021-20038 SonicWall SMA 100 Appliances Stack-Based Buffer Overflow
- CVE-2023-44221 SonicWall SMA100 Appliances OS Command Injection
- CVE-2021-20035 SonicWall SMA100 Appliances OS Command Injection
- CVE-2022-22273 Command injection in SonicWall SRA/SMA100
- CVE-2021-20042 Server-side request forgery in SonicWall SMA100
Sources
Also known as GHSA-f8vh-ph3q-qhmc.