Live data from Hacker News

The Freak Attack SSL/TLS Vulnerability

freakattack.com

81–90 of 120 posts

Re: The Freak Attack SSL/TLS Vulnerability

#81
post #42

OpenSSL has way too many options that reduce security. A lot of that legacy code needs to be removed outright. Not turned off by some flag, not controlled by some environment variable, removed . (And then, when Rust settles down, OpenSSL needs to be rewritten in Rust, as cleanly as possible.)

LibreSSL is doing the first part of that. When it's in a useable state, switch to that and leave OpenSSL in the past.

Re: The Freak Attack SSL/TLS Vulnerability

#84

We wrote a blog post: The perfect SSL nginx configuration ( http://blog.commando.io/the-perfect-nginx-ssl-configuration/ ) which details all the nginx directives to set to achieve an A+ rating on sslLabs, including mitigation of FREAK, POODLE, and HEARTBLEED.

Hmm, as a novice, capable of setting up fine Drupal/Nginx/mail(Postfix) server I'm kind of shocked to get an F rating on ssllabs with the default, up to date, ssl enabled, Debian/Nginx config... Sounds like something to fix, not? Is there that much need for some forms of backwards compatibility? Are A+ servers badly reachable from older browsers or something? Why would the default be so bad? Somehow, in all my naivety I have always thought regular apt-get update/upgrades would keep me secure. Seems I'm still vulnerable to POODLE even. Guess I'll have to keep checking next to updating. Should I delete old config files with every update? Are new ones containing the recommended settings?

Re: The Freak Attack SSL/TLS Vulnerability

#85
post #84

We wrote a blog post: The perfect SSL nginx configuration ( http://blog.commando.io/the-perfect-nginx-ssl-configuration/ ) which details all the nginx directives to set to achieve an A+ rating on sslLabs, including mitigation of FREAK, POODLE, and HEARTBLEED.

Hmm, as a novice, capable of setting up fine Drupal/Nginx/mail(Postfix) server I'm kind of shocked to get an F rating on ssllabs with the default, up to date, ssl enabled, Debian/Nginx config... Sounds like something to fix, not? Is there that much need for some forms of backwards compatibility? Are A+ servers badly reachable from older browsers or something? Why would the default be so bad? Somehow, in all my naivet…

Here's the how we get an A+ rating[1] for nginx on utilityapi.com:

    ssl on;
    ssl_certificate my_ssl.crt;
    ssl_certificate_key my_ssl.key;
    ssl_session_timeout 5m;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers EECDH+aRSA+AES256:EDH+aRSA+AES256:EECDH+aRSA+AES128:EDH+aRSA+AES128;
    ssl_session_cache shared:SSL:50m;
    ssl_prefer_server_ciphers on;
    add_header Strict-Transport-Security max-age=63072000;
Our configuration doesn't support for IE6 or IE8 on Windows XP, but that's the only downside. Also, this configuration has 100% forward secrecy :)

Finally, you can get an A+ rating for free with StartSSL's free option, then using the SHA2 intermediate certificate[2]. This is what I use for my pgp keyserver[3].

[1]: https://www.ssllabs.com/ssltest/analyze.html?d=utilityapi.co...

[2]: https://www.startssl.com/certs/class1/sha2/pem/

[3]: https://www.ssllabs.com/ssltest/analyze.html?d=sks.daylightp...

Re: The Freak Attack SSL/TLS Vulnerability

#86

https://freakattack.com/clienttest.html I just tested my devices. Linux machines running firefox all passed. On the other hand my Android phone did not, lots of RSA_EXPORT ciphers accepted. But as with nearly every security story: linux/foss software for the WIN!

Windows Phone 8 passes as well. Closed source for the win! Did I do that right?

Re: The Freak Attack SSL/TLS Vulnerability

#87
post #64

Earlier quoted context omitted.

Didn't know about setting DH parameters. On each server, do the following: sudo openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 Then in nginx.conf set: http { ssl_dhparam /etc/nginx/ssl/dhparam.pem; }

Non-EC DHE is basically dead. The param size isn't part of the TLS handshake and so using a larger size actually breaks some clients that only do 1024-bit DH params. At the end of the day, almost all the clients that support larger DH param sizes also support ECDHE, which is faster anyway. You might as well not bother and just keep a few non-PFS ciphers for those clients to avoid interoperability problems. Bonus triv…

2048 bit DHE breaks java 6, but is only PFS option for recent msie on windows. A tradeoff worth making.

Re: The Freak Attack SSL/TLS Vulnerability

#88
post #64

Earlier quoted context omitted.

Non-EC DHE is basically dead. The param size isn't part of the TLS handshake and so using a larger size actually breaks some clients that only do 1024-bit DH params. At the end of the day, almost all the clients that support larger DH param sizes also support ECDHE, which is faster anyway. You might as well not bother and just keep a few non-PFS ciphers for those clients to avoid interoperability problems. Bonus triv…

2048 bit DHE breaks java 6, but is only PFS option for recent msie on windows. A tradeoff worth making.

Well, DHE is the only PFS option for IE on Windows XP. Vista, 7 and 8 all support ECDHE.

IE8 on XP is basically totally busted:

https://www.ssllabs.com/ssltest/viewClient.html?name=IE&vers...

Re: The Freak Attack SSL/TLS Vulnerability

#89
post #88

Earlier quoted context omitted.

2048 bit DHE breaks java 6, but is only PFS option for recent msie on windows. A tradeoff worth making.

Well, DHE is the only PFS option for IE on Windows XP. Vista, 7 and 8 all support ECDHE. IE8 on XP is basically totally busted: https://www.ssllabs.com/ssltest/viewClient.html?name=IE&vers...

It doesn't work either because it depends on DSA certificates.

Re: The Freak Attack SSL/TLS Vulnerability

#90
post #89
post #88

Earlier quoted context omitted.

Well, DHE is the only PFS option for IE on Windows XP. Vista, 7 and 8 all support ECDHE. IE8 on XP is basically totally busted: https://www.ssllabs.com/ssltest/viewClient.html?name=IE&vers...

It doesn't work either because it depends on DSA certificates.

Yep. Time to give up on anyone using a browser that depends on XP's SSL support. Much like SSLv3, they will get the message when the entire Internet stops loading in their browser.
Post reply on HN