Stack-based buffer overflow in OpenConnect VPN Client - CVE-2012-6128

 

Stack-based buffer overflow in OpenConnect VPN Client - CVE-2012-6128

Published: May 25, 2020


Vulnerability identifier: #VU28217
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-6128
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 a boundary error within http.c file when processing a long (1) hostname, (2) path, or (3) cookie list in a response. A remote attacker can trick the victim to connect to a malicious VPN server, 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

OpenConnect VPN Client
Gentoo Linux
Fedora
openconnect

How to mitigate CVE-2012-6128

Install update from vendor's website.

OpenConnect VPN Client - update to 4.08
openconnect - addressed in versions 4.08-1.el5, 4.08-1.el6

External References

Related Security Bulletins