Heap-based buffer overflow in Jouni Malinen products - CVE-2015-4141

 

Heap-based buffer overflow in Jouni Malinen products - CVE-2015-4141

Published: June 15, 2015 / Updated: August 4, 2020


Vulnerability identifier: #VU33633
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-4141
CWE-ID: CWE-122
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 a boundary error in The WPS UPnP function in hostapd, when using WPS AP, and wpa_supplicant, when using WPS external registrar (ER), 0.7.0 through 2.4. A remote attacker can use a negative chunk length to trigger heap-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

Opensuse
Gentoo Linux
Debian Linux
wpa_supplicant
hostapd
hostapd (Alpine package)
wpa_supplicant (Alpine package)
wpa (Debian package)

How to mitigate CVE-2015-4141

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

hostapd (Alpine package) - addressed in versions 2.3-r1, 2.3-r2
wpa_supplicant (Alpine package) - addressed in versions 2.3-r1, 2.4-r1
wpa (Debian package) - addressed in versions 1.0-3+deb7u3, 2.3-1+deb8u3

External References

Related Security Bulletins