[Bug 986147] Re: openssl 1.0.1-4ubuntu2 breaks a bunch of ciphers
kylea
kylea at itvss.com.au
Mon Nov 12 22:37:46 UTC 2012
3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Are we sure this is fixed - I still have to specify -ssl3
--- this works:
openssl s_client -connect WWW.ITVSN.COM.AU:443 -state -ssl3
--- this fails:
openssl s_client -connect WWW.ITVSN.COM.AU:443 -state
CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:unknown state
SSL3 alert read:fatal:protocol version
SSL_connect:error in unknown state
139717957809824:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:s23_clnt.c:724:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 226 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/986147
Title:
openssl 1.0.1-4ubuntu2 breaks a bunch of ciphers
Status in “openssl” package in Ubuntu:
Fix Released
Status in “openssl” source package in Precise:
Fix Released
Bug description:
in version 1.0.1-4ubuntu2, we see:
openssl (1.0.1-4ubuntu2) precise-proposed; urgency=low
* Backport more upstream patches to work around TLS 1.2 failures
(LP #965371):
...
- Truncate the number of ciphers sent in the client hello to 50. Most
broken servers should now work.
...
-- Colin Watson <cjwatson at ubuntu.com> Wed, 18 Apr 2012 15:03:56
+0100
We have a server which offers a very small number of ciphers. When
this change hit, suddenly our hosts could no longer contact this
server, getting the error:
$ openssl s_client -connect HOSTNAME:9140
CONNECTED(00000003)
139736292189856:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:724:
The problem here was tracked down to a failure to find a matching
cipher. If we specify -cipher RC4-SSH (the only one essentially which
the server permits) or -ssl3, the connection succeeds.
The problem is this truncation of the number of ciphers sent. RC4-SSH
shows up at something like #74 on our list, so it is getting
truncated. When we specify exactly the cipher to use, of course it
works, and if we say -ssl3, then that also reduces the number which
would be sent, and now RC4-SSH is in the top fifty again.
This is a pretty disastrous change, in fact; it means that openssl
basically now supports only fifty ciphers at a time, and then an
essentially random and unpredictable set. Not only does this mean a
loss of functionality, it could be a loss in security if clients get
pushed to less secure ciphers because the more secure ones happened to
be after number fifty in the list.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/986147/+subscriptions
More information about the foundations-bugs
mailing list