Stack-based buffer overflow in SMA 100 - CVE-2021-20038

 

Stack-based buffer overflow in SMA 100 - CVE-2021-20038

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


Vulnerability identifier: #VU58619
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-20038
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing HTTP GET requests in the SonicWall SMA SSLVPN. A remote unauthenticated attacker can send a specially crafted HTTP request to the SSL VPN interface, trigger a stack-based buffer overflow in the mod_cgi module and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

SMA 100

How to mitigate CVE-2021-20038

Install updates from vendor's website.

SMA 100 - update to 10.2.1.3-27sv

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins