OpenVPN Heartbeat Information Disclosure (Heartbleed)

This script is Copyright (C) 2014 Tenable Network Security, Inc.


Synopsis :

The remote service is affected by an information disclosure
vulnerability.

Description :

Based on its response to a TLS request with a specially crafted
heartbeat message (RFC 6520), the remote OpenVPN service appears to be
affected by an out-of-bounds read flaw.

Because the remote OpenVPN service does not employ the 'HMAC Firewall'
feature, this vulnerability can be exploited without authentication.

This vulnerability could allow an attacker to obtain secret keys,
plaintext VPN traffic, and other sensitive data.

See also :

http://heartbleed.com/
http://eprint.iacr.org/2014/140
https://community.openvpn.net/openvpn/wiki/heartbleed

Solution :

Upgrade the version of OpenSSL that OpenVPN is linked against to
1.0.1g or later. Alternatively, recompile OpenSSL with the
'-DOPENSSL_NO_HEARTBEATS' flag to disable the vulnerable
functionality. For Windows servers, upgrade to OpenVPN version
2.3.2-I004 or later.

Risk factor :

High / CVSS Base Score : 9.4
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N)
CVSS Temporal Score : 8.2
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 73491 ()

Bugtraq ID: 66690

CVE ID: CVE-2014-0160