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.0: 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/E:U/U:Green
CVE-ID: CVE-2012-6128
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenConnect
Affected software:
OpenConnect VPN Client

Detailed vulnerability description

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.


How to mitigate CVE-2012-6128

Install update from vendor's website.

Sources