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: 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-2020-25856
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

RTL8195AM
RTL8711AM
RTL8711AF
RTL8710AF

How to mitigate CVE-2020-25856

Install updates from vendor's website.

RTL8195AM - update to 2.0.8
RTL8711AM - update to 2.0.8
RTL8711AF - update to 2.0.8
RTL8710AF - update to 2.0.8

External References

Related Security Bulletins