Command Injection in SMA 100 - CVE-2021-20039

 

Command Injection in SMA 100 - CVE-2021-20039

Published: December 7, 2021 / Updated: January 12, 2022


Vulnerability identifier: #VU58620
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-20039
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote user to compromise the affected system.

The vulnerability exists due to the SonicWall SMA SSLVPN `/cgi-bin/viewcert` endpoint allows users to upload, view, or delete SSL certificates. A remote authenticated user can send a specially crafted HTTP POST request to the affected SSL VPN interface and execute arbitrary commands on the system with root privileges.


Affected software

SMA 100

How to mitigate CVE-2021-20039

Install updates from vendor's website.

SMA 100 - addressed in versions 10.2.0.9-41sv, 10.2.1.3-27sv

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins