CVE-2021-20039 Command injection in SonicWall SMA100
Remote authenticated attackers can inject arbitrary commands via the viewcert interface, executing code as the nobody user on SMA100 appliances.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-20039?
CVE-2021-20039 is a high-severity command injection vulnerability in SonicWall SMA100, published on 8 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper neutralization of special elements in the SMA100 management interface '/cgi-bin/viewcert' POST http method allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances.
Weakness: CWE-78
Which versions are affected by CVE-2021-20039?
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-20039?
No fix has been published for CVE-2021-20039 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-20039 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-20039 exists.
Public exploit code: 1 Metasploit module.
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-58fc-493g-jfwj.