Heartbleed
I'm guessing that everyone has seen http://heartbleed.com/ by now.
My question is simple: Could anyone confirm whether or not OpenVPN is vulnerable (when linked to a vulnerable version of OpenSSL)?
Tore
Quoted 4 lines · Tore Anderson
I'm guessing that everyone has seen http://heartbleed.com/ by now.
My question is simple: Could anyone confirm whether or not OpenVPN is vulnerable (when linked to a vulnerable version of OpenSSL)?
This is James' reply on the devel list:
Using the tls-auth option should protect against this vulnerability (assuming that your tls-auth key is not known to the attacker).
If you're not using tls-auth and are using a vulnerable version of OpenSSL, you should definitely upgrade to OpenSSL 1.0.1g.
Signature · 1 line
D.
-----Original Message-----
From: Davide Brini [mailto:[email protected]...]
Sent: dinsdag 8 april 2014 13:26
To: [email protected]
Subject: Re: [Openvpn-devel] Heartbleed
Quoted 8 lines · Tore Anderson
Quoted 5 lines
I'm guessing that everyone has seen http://heartbleed.com/ by now.
My question is simple: Could anyone confirm whether or not OpenVPN is vulnerable (when linked to a vulnerable version of OpenSSL)?
Quoted 6 lines
This is James' reply on the devel list:
Using the tls-auth option should protect against this vulnerability (assuming that your tls-auth key is not known to the attacker).
If you're not using tls-auth and are using a vulnerable version of OpenSSL, you should definitely upgrade to OpenSSL 1.0.1g.
Note that you should also replace both server and client private keys, as these can be read by an attacker.
Quoted 5 lines · Adriaan de Jong
Quoted 3 lines
Using the tls-auth option should protect against this vulnerability (assuming that your tls-auth key is not known to the attacker).
If you're not using tls-auth and are using a vulnerable version of OpenSSL, you should definitely upgrade to OpenSSL 1.0.1g.
Note that you should also replace both server and client private keys, as these can be read by an attacker.
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
---Mike
Signature · 5 lines
------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, [email protected]... Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Hi,
Quoted 7 lines · Mike Tancsa
Quoted 1 line · Adriaan de Jong
Quoted 1 line
Using the tls-auth option should protect against this vulnerability
(assuming that your tls-auth key is not known to the attacker).
Quoted 2 lines
Quoted 2 lines
If you're not using tls-auth and are using a vulnerable version of
OpenSSL, you should definitely upgrade to OpenSSL 1.0.1g.
Quoted 1 line
Quoted 7 lines
Quoted 1 line
Note that you should also replace both server and client private
keys, as these can be read by an attacker.
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
The client can then leak keys (both private master key and session keys), which completely breaks your secure connection, for that client.
So when the server is not vulnerable, each client has to be attacked individually, and not-vulnerable clients have a secure connection to the server. As long as there are vulnerable clients, you should consider those as potentially malicious, and thus you should consider the network as insecure.
-Steffan
Hi,
Am 08.04.2014 15:42, schrieb Steffan Karger:
Quoted 10 lines
Quoted 5 lines
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
The client can then leak keys (both private master key and session keys), which completely breaks your secure connection, for that client.
Quoted 5 lines
So when the server is not vulnerable, each client has to be attacked individually, and not-vulnerable clients have a secure connection to the server. As long as there are vulnerable clients, you should consider those as potentially malicious, and thus you should consider the network as insecure.
Then OpenVPN should release new Windows Versions.
The current binaries are linked against OpenSSL (ssleay32.dll, libeay32.dll) 1.0.1.5 (-> 1.0.1e).
Greetings,
Enno
Signature · 6 lines
Enno Gröper [email protected]... - Raum 2'325, Rudower Chaussee 26 Tel. +49.(0)30.2093.70053 Fax +49.(0)30.2093.2959 Humboldt-Universität zu Berlin - http://www.hu-berlin.de/ ZE Computer- und Medienservice - http://www.cms.hu-berlin.de/ Unter den Linden 6, D-10099 Berlin, Germany
Quoted 13 lines
Hi,
Am 08.04.2014 15:42, schrieb Steffan Karger:
Quoted 9 lines
Quoted 5 lines
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
The client can then leak keys (both private master key and session keys), which completely breaks your secure connection, for that client.
Quoted 10 lines
Quoted 5 lines
So when the server is not vulnerable, each client has to be attacked individually, and not-vulnerable clients have a secure connection to the server. As long as there are vulnerable clients, you should consider those as potentially malicious, and thus you should consider the network as insecure.
Then OpenVPN should release new Windows Versions. The current binaries are linked against OpenSSL (ssleay32.dll, libeay32.dll) 1.0.1.5 (-> 1.0.1e).
Hi all,
We'll try to push OpenVPN 2.3.3 out today. The Windows installer will contain OpenSSL 1.0.1g which fixes this particular problem. In addition several other small changes and enhancements will be included.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 23 lines
Quoted 13 lines
Hi,
Am 08.04.2014 15:42, schrieb Steffan Karger:
Quoted 9 lines
Quoted 5 lines
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
The client can then leak keys (both private master key and session keys), which completely breaks your secure connection, for that client.
Quoted 10 lines
Quoted 5 lines
So when the server is not vulnerable, each client has to be attacked individually, and not-vulnerable clients have a secure connection to the server. As long as there are vulnerable clients, you should consider those as potentially malicious, and thus you should consider the network as insecure.
Then OpenVPN should release new Windows Versions. The current binaries are linked against OpenSSL (ssleay32.dll, libeay32.dll) 1.0.1.5 (-> 1.0.1e).
Quoted 6 lines
Hi all,
We'll try to push OpenVPN 2.3.3 out today. The Windows installer will contain OpenSSL 1.0.1g which fixes this particular problem. In addition several other small changes and enhancements will be included.
Minor correction: I will build and publish OpenVPN 2.3.2 Windows installers with OpenSSL 1.0.1g today; this will fix the security problem at hand. OpenVPN 2.3.3 will follow on Thursday, if I encounter no big problems with the changes it contains.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 25 lines
Quoted 25 lines
Quoted 13 lines
Hi,
Am 08.04.2014 15:42, schrieb Steffan Karger:
Quoted 9 lines
Quoted 5 lines
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
The client can then leak keys (both private master key and session keys), which completely breaks your secure connection, for that client.
Quoted 10 lines
Quoted 5 lines
So when the server is not vulnerable, each client has to be attacked individually, and not-vulnerable clients have a secure connection to the server. As long as there are vulnerable clients, you should consider those as potentially malicious, and thus you should consider the network as insecure.
Then OpenVPN should release new Windows Versions. The current binaries are linked against OpenSSL (ssleay32.dll, libeay32.dll) 1.0.1.5 (-> 1.0.1e).
Hi all,
Quoted 9 lines
Quoted 4 lines
We'll try to push OpenVPN 2.3.3 out today. The Windows installer will contain OpenSSL 1.0.1g which fixes this particular problem. In addition several other small changes and enhancements will be included.
Minor correction: I will build and publish OpenVPN 2.3.2 Windows installers with OpenSSL 1.0.1g today; this will fix the security problem at hand. OpenVPN 2.3.3 will follow on Thursday, if I encounter no big problems with the changes it contains.
An updated installer (I004) with OpenSSL 1.0.1g is now out:
<http://openvpn.net/index.php/download/community-downloads.html>
I smoketested the installers on Windows 7 64-bit and WinXP 32-bit.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
am I right that "nobind" option gives some protection to windows openvpn client ?
2014-04-08 23:02 GMT+06:00 Samuli Seppänen <[email protected]...>:
Quoted 58 lines
Quoted 25 lines
Quoted 25 lines
Quoted 13 lines
Hi,
Am 08.04.2014 15:42, schrieb Steffan Karger:
Quoted 9 lines
Quoted 5 lines
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
The client can then leak keys (both private master key and session keys), which completely breaks your secure connection, for that client.
Quoted 10 lines
Quoted 5 lines
So when the server is not vulnerable, each client has to be attacked individually, and not-vulnerable clients have a secure connection to the server. As long as there are vulnerable clients, you should consider those as potentially malicious, and thus you should consider the network as insecure.
Then OpenVPN should release new Windows Versions. The current binaries are linked against OpenSSL (ssleay32.dll, libeay32.dll) 1.0.1.5 (-> 1.0.1e).
Hi all,
Quoted 9 lines
Quoted 4 lines
We'll try to push OpenVPN 2.3.3 out today. The Windows installer will contain OpenSSL 1.0.1g which fixes this particular problem. In addition several other small changes and enhancements will be included.
Minor correction: I will build and publish OpenVPN 2.3.2 Windows installers with OpenSSL 1.0.1g today; this will fix the security problem at hand. OpenVPN 2.3.3 will follow on Thursday, if I encounter no big problems with the changes it contains.
An updated installer (I004) with OpenSSL 1.0.1g is now out:
<http://openvpn.net/index.php/download/community-downloads.html>
I smoketested the installers on Windows 7 64-bit and WinXP 32-bit.
--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Incirc freenode net: mattock
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Am 09.04.14 10:25, schrieb Илья Шипицин:
Quoted 3 lines
am I right that "nobind" option gives some protection to windows openvpn client ?
No. Nobind gives no protection.
Arne
I used to think that client without "nobind" option binds to 1194/udp (we encountered that issue with multiple openvpn connection on the same machine), so, "nobind" tells openvpn instance not to bind to udp/1194, and so, only openvpn server can exploit heartbleed vulnerability, but not any attacker.
2014-04-09 14:30 GMT+06:00 Arne Schwabe <[email protected]...>:
Quoted 7 lines
Am 09.04.14 10:25, schrieb Илья Шипицин:
Quoted 3 lines
am I right that "nobind" option gives some protection to windows openvpn client ?
No. Nobind gives no protection.
Arne
Am 09.04.14 10:32, schrieb Илья Шипицин:
Quoted 6 lines
I used to think that client without "nobind" option binds to 1194/udp (we encountered that issue with multiple openvpn connection on the same machine), so, "nobind" tells openvpn instance not to bind to udp/1194, and so, only openvpn server can exploit heartbleed vulnerability, but not any attacker.
Yes the server can attack you. Or any man in the middle attack including ARP spoofing/DNS spoofing etc.
If you see nobind that as protection basically you don't need a VPN.
Arne
I did not say "nobind protects from everything", but I did mean that clients with "nobind" are more protected in case of non patched openssl library shipped with (old) openvpn windows installer.
if server is patched (what is rather easy thing comparing to hundreds windows users), nobody can steal server ssl cert, sniffering traffic is useless in that case. mitm type attack is also useless when you have no server cert. the only thing you can attack is client, and if he uses "nobind", it looks rather good.
2014-04-09 14:44 GMT+06:00 Arne Schwabe <[email protected]...>:
Quoted 14 lines
Am 09.04.14 10:32, schrieb Илья Шипицин:
Quoted 6 lines
I used to think that client without "nobind" option binds to 1194/udp (we encountered that issue with multiple openvpn connection on the same machine), so, "nobind" tells openvpn instance not to bind to udp/1194, and so, only openvpn server can exploit heartbleed vulnerability, but not any attacker.
Yes the server can attack you. Or any man in the middle attack including ARP spoofing/DNS spoofing etc.
If you see nobind that as protection basically you don't need a VPN.
Arne
Quoted 5 lines · Илья Шипицин
I did not say "nobind protects from everything", but I did mean that clients with "nobind" are more protected in case of non patched openssl library shipped with (old) openvpn windows installer.
Quoted 21 lines
if server is patched (what is rather easy thing comparing to hundreds windows users), nobody can steal server ssl cert, sniffering traffic is useless in that case. mitm type attack is also useless when you have no server cert. the only thing you can attack is client, and if he uses "nobind", it looks rather good.
2014-04-09 14:44 GMT+06:00 Arne Schwabe <[email protected]...>:
Quoted 14 lines
Am 09.04.14 10:32, schrieb Илья Шипицин:
Quoted 6 lines
I used to think that client without "nobind" option binds to 1194/udp (we encountered that issue with multiple openvpn connection on the same machine), so, "nobind" tells openvpn instance not to bind to udp/1194, and so, only openvpn server can exploit heartbleed vulnerability, but not any attacker.
Yes the server can attack you. Or any man in the middle attack including ARP spoofing/DNS spoofing etc.
If you see nobind that as protection basically you don't need a VPN.
Arne
I don't see the difference between nobind and bind. As soon as you connect to the server, a MITM attack or an attack by the server is possible.
Adriaan
Hi,
Quoted 5 lines · ???? ???????
I used to think that client without "nobind" option binds to 1194/udp (we encountered that issue with multiple openvpn connection on the same machine), so, "nobind" tells openvpn instance not to bind to udp/1194, and so, only openvpn server can exploit heartbleed vulnerability, but not any attacker.
Well, not "any" attacker, but "any attacker who can see your packets", either by sitting in the path, or by DNS attacks, misdirecting your communication attempts to a malicious server.
This is not trivial to set up, and might not be worth for every client out there - but if you're truly concerned about your data, upgrade the client, revoke the old key+certificate, reissue new keys.
(If you use an extra username+password authentication with one-time-passwords, this should be "good enough", provided your openssl is fixed)
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Am 09.04.2014 10:45, schrieb Gert Doering:
Quoted 3 lines
This is not trivial to set up, and might not be worth for every client out there - but if you're truly concerned about your data, upgrade the client, revoke the old key+certificate, reissue new keys.
How does revokation Lists work with openvpn?
Quoted 7 lines · Eike Lohmann
Am 09.04.2014 10:45, schrieb Gert Doering:
Quoted 3 lines
This is not trivial to set up, and might not be worth for every client out there - but if you're truly concerned about your data, upgrade the client, revoke the old key+certificate, reissue new keys.
How does revokation Lists work with openvpn?
- revoke a certificate and generate a CRL using easy-rsa's 'revoke-full' (or your preferred solution for PKI)
- add
crl-verify <full path to crl.pem file>
to your server config
- restart openvpn
you can also use a directory containing .r0 files if you have multiple CAs + CRLs that you need to support.
HTH,
JJK
Hello,
Am 8.4.2014 19:02, schrieb Samuli Seppänen:
Quoted 6 lines
An updated installer (I004) with OpenSSL 1.0.1g is now out:
<http://openvpn.net/index.php/download/community-downloads.html>
I smoketested the installers on Windows 7 64-bit and WinXP 32-bit.
just wanted to give Feedback...
I am running the new version on my Windows Server 2008R2 x64 since about a day now and it runs just fine :>
Thank you again.
Best regards
Marcel
Signature · 8 lines
www.mrgeneration.de - The home of Anime Marcel Herrguth Tel: 0176/65 92 44 85 Klüberstr. 25 12249 Berlin, Germany The home of Anime @ Facebook:https://www.facebook.com/mrgeneration.de Twitter: https://twitter.com/Mr_Generation
Hi,
Quoted 1 line · Enno Gröper
Then OpenVPN should release new Windows Versions.
Yeah, always glad to have people tell us what to do.
Working on it...
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Quoted 8 lines · Steffan Karger
Quoted 4 lines
Perhaps a dumb question, but if the server instance is linked against an older version of openssl (9.8.x), but the client is compiled and linked against the vulnerable version, is it still an issue for both sides, or is the client going to leak private information ?
The client can then leak keys (both private master key and session keys), which completely breaks your secure connection, for that client.
So when the server is not vulnerable, each client has to be attacked individually, and not-vulnerable clients have a secure connection to the server. As long as there are vulnerable clients, you should consider those as potentially malicious, and thus you should consider the network as insecure.
Thanks for the replay. I am still trying to understand as it relates to the analysis here
http://blog.existentialize.com/diagnosis-of-the-openssl-heartbleed-bug.html
How does one attack the client ? In my case, the client only connects to my servers ? I use a tls-auth key file as well. If I understand correctly, the scenario would be the attacker would have to have the tls-auth key file, and then do a man in the middle attack to pretend its the server's IP, and then coax the client into allocating the 64k block of memory as described in the above link ?
---Mike
Signature · 5 lines
------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, [email protected]... Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Quoted 6 lines · Mike Tancsa
How does one attack the client ? In my case, the client only connects to my servers ? I use a tls-auth key file as well. If I understand correctly, the scenario would be the attacker would have to have the tls-auth key file, and then do a man in the middle attack to pretend its the server's IP, and then coax the client into allocating the 64k block of memory as described in the above link ?
Correct. But man-in-the-middle can also be something like DNS poisoning.
If you use TLS-auth, the attacker must have previously obtained the TLS-auth key. When the user base is large, it is not unlikely that one of the users was compromised and should be considered malicious.
-Steffan
Quoted 11 lines · Steffan Karger
Quoted 6 lines · Mike Tancsa
How does one attack the client ? In my case, the client only connects to my servers ? I use a tls-auth key file as well. If I understand correctly, the scenario would be the attacker would have to have the tls-auth key file, and then do a man in the middle attack to pretend its the server's IP, and then coax the client into allocating the 64k block of memory as described in the above link ?
Correct. But man-in-the-middle can also be something like DNS poisoning.
If you use TLS-auth, the attacker must have previously obtained the TLS-auth key. When the user base is large, it is not unlikely that one of the users was compromised and should be considered malicious.
Thanks! Although we are certainly planing to update the vulnerable clients, this is not quite as dire and urgent as first described in the popular press-- at least as it applies to my client base. We also use IP addresses for the target servers in the client configs.
---Mike
Signature · 5 lines
------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, [email protected]... Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/