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


Vulnerability identifier: #VU28217

Vulnerability risk: Medium

CVSSv4.0: 4 [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: Network

Exploit availability: No

Vulnerable software:
OpenConnect VPN Client
Client/Desktop applications / Other client software

Vendor: OpenConnect

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

OpenConnect VPN Client: 4.00 - 4.07


External links
https://git.infradead.org/users/dwmw2/openconnect.git/commitdiff/26f752c3dbf69227679fc6bebb4ae071aecec491
https://lists.opensuse.org/opensuse-updates/2013-06/msg00115.html
https://www.debian.org/security/2013/dsa-2623
https://www.infradead.org/openconnect/changelog.html
https://www.mandriva.com/security/advisories?name=MDVSA-2013:108
https://www.openwall.com/lists/oss-security/2013/02/12/7
https://www.securityfocus.com/bid/57884
https://exchange.xforce.ibmcloud.com/vulnerabilities/82058
https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0060


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