SSLv2 doesn't block disabled ciphers (CVE-2015-3197)
OpenSSL would still complete SSLv2 handshakes using ciphers that had been disabled on the server, as long as the SSLv2 protocol itself was not switched off. This meant many servers believed to have SSLv2 disabled remained exposed to the DROWN attack.
- Fixed in 12 days
- Paid in 12 days
- Disclosed after 14 days
Summary by the program
Severity: Low
A malicious client can negotiate SSLv2 ciphers that have been disabled on the server and complete SSLv2 handshakes even if all SSLv2 ciphers have been disabled, provided that the SSLv2 protocol was not also disabled via SSL_OP_NO_SSLv2.
This issue affects OpenSSL versions 1.0.2 and 1.0.1.
OpenSSL 1.0.2 users should upgrade to 1.0.2f OpenSSL 1.0.1 users should upgrade to 1.0.1r
This issue was reported to OpenSSL on 26th December 2015 by Nimrod Aviram and Sebastian Schinzel. The fix was developed by Nimrod Aviram with further development by Viktor Dukhovni of the OpenSSL development team.
The report
This is a DROWN-related issue that essentially circumvented the instructions on how to disable SSLv2 at the time. Its primary effect was that a lot of servers were vulnerable to DROWN even though they thought they had SSLv2 disabled. It was reported to OpenSSL and fixed in versions 1.0.2f and 1.0.1r: https://www.openssl.org/news/secadv/20160128.txt
(and obviously the DROWN attack itself was reported to OpenSSL, as explained in this OpenSSL blogpost: https://www.openssl.org/blog/blog/2016/03/01/an-openssl-users-guide-to-drown/
Thanks!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the SSLv2 handshake code did not check whether the negotiated cipher had been disabled, so disabling individual ciphers had no effect unless the whole protocol was turned off.
Impact
Servers that thought SSLv2 was disabled were still vulnerable to DROWN; the text does not detail the consequences.
What the attacker needed
Server runs OpenSSL 1.0.1 or 1.0.2; SSLv2 protocol left enabled; attacker can connect to the server
The fix
The issue was fixed in OpenSSL 1.0.2f and 1.0.1r, and users were advised to upgrade.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SSLv2 is a very old, insecure version of the encryption protocol used by websites. Administrators thought they could stay safe by turning off the weak ciphers (encryption options) while leaving the old protocol switched on. This bug showed that a client could still use those supposedly disabled ciphers, so the server was not really protected.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.