ID CVE-2012-6128
Summary Multiple stack-based buffer overflows in http.c in OpenConnect before 4.08 allow remote VPN gateways to cause a denial of service (application crash) via a long (1) hostname, (2) path, or (3) cookie list in a response.
References
Vulnerable Configurations
  • infradead OpenConnect 3.16
    cpe:2.3:a:infradead:openconnect:3.16
  • infradead OpenConnect 3.15
    cpe:2.3:a:infradead:openconnect:3.15
  • infradead OpenConnect 3.14
    cpe:2.3:a:infradead:openconnect:3.14
  • infradead OpenConnect 3.13
    cpe:2.3:a:infradead:openconnect:3.13
  • infradead OpenConnect 3.12
    cpe:2.3:a:infradead:openconnect:3.12
  • infradead OpenConnect 3.11
    cpe:2.3:a:infradead:openconnect:3.11
  • infradead OpenConnect 3.02
    cpe:2.3:a:infradead:openconnect:3.02
  • infradead OpenConnect 3.01
    cpe:2.3:a:infradead:openconnect:3.01
  • infradead OpenConnect 3.00
    cpe:2.3:a:infradead:openconnect:3.00
  • infradead OpenConnect 2.26
    cpe:2.3:a:infradead:openconnect:2.26
  • infradead OpenConnect 2.25
    cpe:2.3:a:infradead:openconnect:2.25
  • infradead OpenConnect 2.24
    cpe:2.3:a:infradead:openconnect:2.24
  • infradead OpenConnect 2.23
    cpe:2.3:a:infradead:openconnect:2.23
  • infradead OpenConnect 2.22
    cpe:2.3:a:infradead:openconnect:2.22
  • infradead OpenConnect 2.21
    cpe:2.3:a:infradead:openconnect:2.21
  • infradead OpenConnect 2.20
    cpe:2.3:a:infradead:openconnect:2.20
  • infradead OpenConnect 2.12
    cpe:2.3:a:infradead:openconnect:2.12
  • infradead OpenConnect 2.11
    cpe:2.3:a:infradead:openconnect:2.11
  • infradead OpenConnect 2.10
    cpe:2.3:a:infradead:openconnect:2.10
  • infradead OpenConnect 2.01
    cpe:2.3:a:infradead:openconnect:2.01
  • infradead OpenConnect 2.00
    cpe:2.3:a:infradead:openconnect:2.00
  • infradead OpenConnect 1.40
    cpe:2.3:a:infradead:openconnect:1.40
  • infradead OpenConnect 1.30
    cpe:2.3:a:infradead:openconnect:1.30
  • infradead OpenConnect 1.20
    cpe:2.3:a:infradead:openconnect:1.20
  • infradead OpenConnect 1.10
    cpe:2.3:a:infradead:openconnect:1.10
  • infradead OpenConnect 1.00
    cpe:2.3:a:infradead:openconnect:1.00
  • infradead OpenConnect 3.17
    cpe:2.3:a:infradead:openconnect:3.17
  • infradead OpenConnect 3.18
    cpe:2.3:a:infradead:openconnect:3.18
  • infradead OpenConnect 3.19
    cpe:2.3:a:infradead:openconnect:3.19
  • infradead OpenConnect 3.20
    cpe:2.3:a:infradead:openconnect:3.20
  • infradead OpenConnect 3.99
    cpe:2.3:a:infradead:openconnect:3.99
  • infradead OpenConnect 4.00
    cpe:2.3:a:infradead:openconnect:4.00
  • infradead OpenConnect 4.01
    cpe:2.3:a:infradead:openconnect:4.01
  • infradead OpenConnect 4.02
    cpe:2.3:a:infradead:openconnect:4.02
  • infradead OpenConnect 4.03
    cpe:2.3:a:infradead:openconnect:4.03
  • infradead OpenConnect 4.04
    cpe:2.3:a:infradead:openconnect:4.04
  • infradead OpenConnect 4.05
    cpe:2.3:a:infradead:openconnect:4.05
  • infradead OpenConnect 4.06
    cpe:2.3:a:infradead:openconnect:4.06
  • infradead OpenConnect 4.07
    cpe:2.3:a:infradead:openconnect:4.07
CVSS
Base: 5.0 (as of 25-02-2013 - 14:04)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-2498.NASL
    description This update fixes a potential buffer overflow in HTTP request generation, which could be triggered by a malicious server generating a large number of cookies or redirecting to a large path or hostname. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 64871
    published 2013-02-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64871
    title Fedora 18 : openconnect-4.08-1.fc18 (2013-2498)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201405-18.NASL
    description The remote host is affected by the vulnerability described in GLSA-201405-18 (OpenConnect: User-assisted execution of arbitrary code) A stack-based buffer overflow error has been discovered in OpenConnect. Impact : A remote attacker could entice a user to connect to a malicious VPN server, possibly resulting in execution of arbitrary code with the privileges of the process, or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2015-04-13
    plugin id 74060
    published 2014-05-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74060
    title GLSA-201405-18 : OpenConnect: User-assisted execution of arbitrary code
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2623.NASL
    description Kevin Cernekee discovered that a malicious VPN gateway can send crafted responses which trigger stack-based buffer overflows.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 64635
    published 2013-02-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64635
    title Debian DSA-2623-1 : openconnect - buffer overflow
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-2472.NASL
    description This update fixes a potential buffer overflow in HTTP request generation, which could be triggered by a malicious server generating a large number of cookies or redirecting to a large path or hostname. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 64870
    published 2013-02-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64870
    title Fedora 17 : openconnect-4.08-1.fc17 (2013-2472)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-108.NASL
    description Updated openconnect packages fix security vulnerability : A stack-based buffer overflow flaw was found in the way OpenConnect, a client for Cisco's AnyConnect VPN, performed processing of certain host names, paths, or cookie lists, received from the VPN gateway. A remote VPN gateway could provide a specially crafted host name, path or cookie list that, when processed by the openconnect client would lead to openconnect executable crash (CVE-2012-6128).
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 66120
    published 2013-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66120
    title Mandriva Linux Security Advisory : openconnect (MDVSA-2013:108)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-429.NASL
    description This version update fixes several bugs : - Frequent connection drops fixed (bnc#817152). - Update to version 4.09 - Fix overflow on HTTP request buffers (CVE-2012-6128)(bnc#803347) - Fix connection to servers with round-robin DNS with two-stage auth/connect. - Impose minimum MTU of 1280 bytes. - Fix some harmless issues reported by Coverity. - Improve 'Attempting to connect...' message to be explicit when it's connecting to a proxy. - Update to version 4.07 - Fix segmentation fault when invoked with -p argument. - Fix handling of write stalls on CSTP (TCP) socket. - Update to version 4.06 - Fix default CA location for non-Fedora systems with old GnuTLS. - Improve error handing when vpnc-script exits with error. - Handle PKCS#11 tokens which won't list keys without login. - Update to version 4.05 - Use correct CSD script for Mac OS X. - Fix endless loop in PIN cache handling with multiple PKCS#11 tokens. - Fix PKCS#11 URI handling to preserve all attributes. - Don't forget key password on GUI reconnect. - Fix GnuTLS v3 build on OpenBSD. - Update to version 4.04 - Fix GnuTLS password handling for PKCS#8 files. - Update to version 4.03 - Fix --no-proxy option. - Fix handling of requested vs. received MTU settings. - Fix DTLS MTU for GnuTLS 3.0.21 and newer. - Support more ciphers for OpenSSL encrypted PEM keys, with GnuTLS. - Fix GnuTLS compatibility issue with servers that insist on TLSv1.0 or non-AES ciphers (RH#836558). - Update to version 4.02 - Fix build failure due to unconditional inclusion of . - Update to version 4.01 - Add support for OpenSSL's odd encrypted PKCS#1 files, for GnuTLS. - Fix repeated passphrase retry for OpenSSL. - Add keystore support for Android. - Support TPM, and also additional checks on PKCS#11 certs, even with GnuTLS 2.12. - Fix library references to OpenSSL's ERR_print_errors_cb() when built against GnuTLS v2.12. - Update to version 4.00 - Add support for OpenSSL's odd encrypted PKCS#1 files, for GnuTLS. - Fix repeated passphrase retry for OpenSSL. - Add keystore support for Android. - Support TPM, and also additional checks on PKCS#11 certs, even with GnuTLS 2.12. - Fix library references to OpenSSL's ERR_print_errors_cb() when built against GnuTLS v2.12.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75002
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75002
    title openSUSE Security Update : openconnect (openSUSE-SU-2013:0979-1)
refmap via4
bid 57884
confirm
debian DSA-2623
mandriva MDVSA-2013:108
mlist [oss-security] 20130212 Re: CVE request: openconnect buffer overflow
suse openSUSE-SU-2013:0979
xf openconnect-vpngateway-bo(82058)
Last major update 06-02-2014 - 23:44
Published 24-02-2013 - 14:55
Last modified 28-08-2017 - 21:32
Back to Top