#VU28217 Stack-based buffer overflow in OpenConnect VPN Client


Published: 2020-05-25

Vulnerability identifier: #VU28217

Vulnerability risk: Medium

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

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
http://git.infradead.org/users/dwmw2/openconnect.git/commitdiff/26f752c3dbf69227679fc6bebb4ae071aecec491
http://lists.opensuse.org/opensuse-updates/2013-06/msg00115.html
http://www.debian.org/security/2013/dsa-2623
http://www.infradead.org/openconnect/changelog.html
http://www.mandriva.com/security/advisories?name=MDVSA-2013:108
http://www.openwall.com/lists/oss-security/2013/02/12/7
http://www.securityfocus.com/bid/57884
http://exchange.xforce.ibmcloud.com/vulnerabilities/82058
http://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