#VU32434 Heap-based buffer overflow in hostapd


Published: 2012-10-10 | Updated: 2020-07-28

Vulnerability identifier: #VU32434

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2012-4445

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
hostapd
Server applications / Remote access servers, VPN

Vendor: Jouni Malinen

Description

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

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the eap_server_tls_process_fragment function in eap_server_tls_common.c in the EAP authentication server in hostapd 0.6 through 1.0. A remote attacker can use a small 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.

Mitigation
Update to version 1.1.

Vulnerable software versions

hostapd: 0.6.0 - 1.0


External links
http://osvdb.org/86051
http://secunia.com/advisories/50805
http://secunia.com/advisories/50888
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=586c446e0ff42ae00315b014924ec669023bd8de
http://www.debian.org/security/2012/dsa-2557
http://www.freebsd.org/security/advisories/FreeBSD-SA-12:07.hostapd.asc
http://www.mandriva.com/security/advisories?name=MDVSA-2012:168
http://www.openwall.com/lists/oss-security/2012/10/08/3
http://www.pre-cert.de/advisories/PRE-SA-2012-07.txt
http://www.securityfocus.com/bid/55826
http://www.securitytracker.com/id?1027808
http://exchange.xforce.ibmcloud.com/vulnerabilities/79104


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability