Stack-based buffer overflow in Realtek products - CVE-2020-25856

 

Stack-based buffer overflow in Realtek products - CVE-2020-25856

Published: February 3, 2021 / Updated: February 8, 2021


Vulnerability identifier: #VU50411
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2020-25856
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Realtek
Affected software:
RTL8195AM
RTL8711AM
RTL8711AF
RTL8710AF

Detailed vulnerability description

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

The vulnerability exists due to the "DecWPA2KeyData()" function does not validate the size parameter for an "rtl_memcpy()" operation. A remote unauthenticated attacker can inject a specially crafted packet to the WPA2 handshake, trigger stack-based buffer overflow and execute arbitrary code on the target system.

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


How to mitigate CVE-2020-25856

Install updates from vendor's website.

Sources