by espeed · 13y ago · 0 comments
Using compression with SSL could make your site vulnerable to the CRIME and BREACH attacks. See...
SSL Gone in 30 Seconds - A BREACH Beyond CRIME [video]: http://www.youtube.com/watch?v=pIKIXQNFplY&hd=1
BREACH Attack (HTTP Compression): http://breachattack.com, http://security.stackexchange.com/questions/39925/breach-a-n...
CRIME Attack (SSL/TLS/SPDY Compression): http://en.wikipedia.org/wiki/CRIME_(security_exploit), http://security.stackexchange.com/questions/19911/crime-how-...
I developed my nginx config based on their recommendations: https://gist.github.com/konklone/6532544
In his 2010 talk "Everything you need to know about cryptography in 1 hour" (http://blip.tv/fosslc/everything-you-need-to-know-about-cryp...), Colin also recommends limiting SSL use to a confined area.
Amazon does this.
For example, Amazon.com only uses only SSL when you log in, check out, or access "Your Account". Everywhere else Amazon.com uses HMAC request signatures over HTTP, similar to how AWS API requests are signed.
See "Signing AWS API Requests" (http://docs.aws.amazon.com/general/latest/gr/signing_aws_api...)
To Colin and the other security professionals on HN:
* Is limiting SSL still recommended in spite of the trend toward Always-On-SSL?
* What are the current best practices and tradeoff considerations of this approach?Doesn't this leave you vulnerable to session theft?
Someone else here mentioned SSL stripping, which is another problem, which you can't avoid [with partial SSL] no matter how much you try.
If you're deploying SSL today and you're not using HTTP Strict Transport Security, you're doing it incorrectly.
And while HSTS helps protect against sslstrip, you're still vulnerable to MITM attacks due to issues with the CA system.
See moxie's 2011 talk "SSL and the Future of Authenticity" ( http://www.youtube.com/watch?v=Z7Wl2FW2TcA)
My main concern about a scheme like this is the vulnerability to SSL stripping.
I'm not sure what you can do mitigate it apart from have SSL on all the time, HSTS telling the browser that it should be using SSL and hoping that the first time a user comes to your site is via a https link.
https://news.ycombinator.com/item?id=6447518
In the nutshell, it's a continuously updated "everything you need to know" about SSL/TLS.But I'm not quite sure what I need to do to make it better?
the big one is you need to remove the following cyphers: SSL_CK_DES_192_EDE3_CBC_WITH_MD5 (0x700c0) SSL_CK_RC4_128_WITH_MD5 (0x10080)
and disable sslv2
Yes. It's a major vulnerability discovered in the past few months that significantly weakens the crypto.
Website Describing the attack: http://breachattack.com/
Django Blog Post: https://www.djangoproject.com/weblog/2013/aug/06/breach-and-...
Full Paper: "BREACH: Reviving the CRIME Attack" (http://breachattack.com/resources/BREACH%20-%20SSL,%20gone%2...)
The vulnerability occurs when the cookie is part of the compression payload. Although that does depend on the attacker being able to control what gets sent.