Hackers Break Browser SSL/TLS Encryption
First time accepted submitter CaVp writes with an article in The Register about an exploit that appears to affect all browsers and can decrypt an active TLS session. From the article: "Researchers have discovered a serious weakness in virtually all websites protected by the secure sockets layer protocol that allows attackers to silently decrypt data that's passing between a webserver and an end-user browser."
A full disclosure is scheduled for Friday September 23rd at the Ekoparty conference. Note that this only affects SSL 2.0 and TLS 1.0; unfortunately, most web servers are misconfigured to still accept SSL 2.0, and TLS 1.1 and 1.2 have seen limited deployment. The practicality of the attack remains to be determined (for one, it isn't very fast — but if the intent is just to decrypt the data for later use, that isn't an impediment).
gee golly I guess we better just turn it all off and call it quits before the hackers get us.
Get a web developer
From the looks of it, they use javascript on the target computer to capture some plain text which helps them break the keys. So as a temporary measure, disable javascript until browser makers catch up.
Give me Classic Slashdot or give me death!
What would be the ramifications of disabling TLS 1.0 in the browser (Opera)? By default, TLS 1.0 is enabled and TLS 1.1 & 1.2 is disabled. Also, SSL 3 is enabled and there is no option for earlier versions, so I assume SSL 2 is already disabled in Opera.
The attack can apparently be completed in about 5 minutes. That is plenty of time for attacking the average online banking session, never mind gmail and other sites that people log in to for hours at a time.
The attack appears to use javascript to push known plaintext over HTTPS to the web site before the actual login request is sent, so that the login credentials are transferred as part of a persistent SSL connection which now has a known IV. If this is correct, then the attack could be avoided by disabling persistent HTTPS connections in the browser. There is a performance cost to this, but I think most people would prefer to feel secure, and wouldn't really notice the extra costs of opening and closing individual HTTPS sessions for each browser request. Proxies might break that though.
Now we know what that 30,000 node EC2 cluster was for...
Uh, I'm pretty sure the web server is required to have enough flexibility for people to view the content. If the user demands security, that should to be negotiated by the client trying to use the most secure option possible. Saying a server is "misconfigured" might be nice for someone living in a bubble where everything is up to date and users have a clue, but in the real world servers don't have this option.
Now my browser is correctly configured.
Surely Javascript sent from the server with which the SSL session has been made has the opportunity to read what's being transmitted to/from the server anyway? And third party Javascript doesn't get access to random SSL connections with other domains?
What are these guys claiming? That known plaintext at the start of an SSL session plus access to all packets passing between client and server means further characters can eventually be worked out?
Does this mean OpenVPN, Tor, IMAP/POP3-over-SSL clients and other programs that are using SSL/TLS are vulnerable too ? Or is it just web browsers ?
Note, I haven't RTFA.
It looks like the summary above is mistaken. TFA says that TLS 1.0 and before are affected. Shouldn't that include SSL 3.0 as well as 2.0? It matters because if the summary is correct, we can tell our browsers not to use TLS 1.0 but keep using SSL 3.0. If not, we're stuck waiting for fixes from, well, everybody.
So does it now affect sslv3 even with TLS1.0 activated? If not, then upgrade firefox. Version 6.0.2 has ssl2 disabled.
Here's a page that's tracking this for file transfer applications that includes a nice discussion of general purpose web servers and browsers and their current "support of TLS v1.1" status at the end: http://www.filetransferconsulting.com/file-transferbeast-tls-vulnerability/
The Browser break hackers!
This sig is not paradoxical or ironic.
SSLProtocol -all +SSLv3 +TLSv1
SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM#SSLv3:+HIGH:+MEDIUM
This attack uses Javascript (previously-injected) to try to perform an adaptive chosen-plaintext attack (explicit mention of which dates from 2002[1]). TLS 1.1 and up use explicit random IVs for each CBC block to mitigate that attack, but TLS 1.0 and the older SSL protocols use the previous trailing ciphertext block as the IV for the next packet.
I question whether it really brings anything new to the table as Javascript injection brings the ability to do much more devious things rather than messing around with encryption trying to determine a single session key, but I thoroughly encourage everyone to be running TLS v1.2 already anyway. There's no excuse for having it switched off - all older, incompatible implementations should have been phased out already as they probably don't have fixes for the renegotiation vulnerability anyway.
[1] http://www.openssl.org/~bodo/tls-cbc.txt
Americans With Disabilities Act, not American Dental Association
Reminds me of a web-design instructor in highschool who was real big on trying to make one's sites disabled-accessible. For instance, make the site decipherable and navigable by screen readers for the blind
http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505/
http://www.w3.org/WAI/
That it's related to backwards compatibility has to do with vlm's point AFAIK.
I listen to both RIAA and non-RIAA stuff if I like the music, tangential business/politics nonwithstanding.
It says "against a victim who is on a network on which they have a man-in-the-middle position" so they have installed monitoring software on the victims computer that gives them full access in which case why would they need this is the first place?
Here's my description/speculation about how it works. Apologies for the blog whoring, I can't type it all up again:
http://practicalcrypto.blogspot.com/2011/09/brief-diversion-beast-attack-on-tlsssl.html
According to this post, OpenSSL using TLS 1.0 should not be susceptible:
http://marc.info/?l=openssl-dev&m=131654410924995&w=2
Don't know about NSS though.
Because TLS1.1 & below ARE vulnerable to this - here is how you do that:
---
1.) Opera (has TLS 1.2 but NOT BY DEFAULT - you MUST set it, thus - Disable javascript globally (as you CAN in Opera) & then site "by site preferences" in Opera (only browser I know that does it) &, then, to allow javascript on sites that do SSL or not? Do this (in combination w/ using TLS 1.2, & it's NOT THE DEFAULT, you HAVE TO SET IT in Opera's Tools menu, Preferences submenu, Advanced tree item, Security tree subitem section)
2.) IE9 (Has better encryption for SSL than TLS1.1 & below)
3.) Disable javascript
---
* In fact, so you know I am "legit here"? You MAY wish to read up on this:
---
Hackers break SSL encryption used by millions of sites (Beware of BEAST decrypting secret PayPal cookies)
By Dan Goodin in San Francisco - Posted in ID, 19th September 2011 21:10 GMT
http://www.theregister.co.uk/2011/09/19/beast_exploits_paypal_ssl/page2.html
---
"Here endeth the lesson..."
APK
P.S.=> I suppose until Mozilla implements it, NoScript MAY help also, but I wouldn't trust SSL based sites then, until they update FireFox to have TLS version 1.2 (or better when that comes out IF it comes out etc./et al)... apk
1.) So you use NETCRAFT's "What's that site running" here:
http://uptime.netcraft.com/up/graph?site=slashdot.org
To determine what webserver a site runs (what build level), first.
2.) Then, query a search engine for what webservers have TLS 1.2 in them, ala:
http://www.google.com/search?sclient=psy-ab&hl=en&site=&source=hp&q=%22Apache%22+and+%22TLS+1.2%22&btnG=Search
3.) & if NEED be, write the website on what "mod_ssl" level they use currently & warn them to update to the one that has TLS 1.2...
* Easy as pie, & even EASIER than step #3, is to just use this:
https://www.ssllabs.com/ssldb/analyze.html?d=slashdot.org&s=216.34.181.45
That last tool I have to thank someone named "Lennie" here on in an exchange he & I had today (much more direct on determining SSL TLS level used on a site than my "detective methods")...
APK
P.S.=> Funniest part is, I'll never EVER get hit by "BEAST", because I don't use javascript here "indiscriminately" (hell, I never do, I don't even do "ecommerce" because I know the security-downsides of Javascript is why)... but, time to "take you apart" in your quotes now (the FUN part):
"That won't work. The way TLS works is the client says 'hey I have 1.2" and the vast majority of servers reply, "cool, but I only do 1.0 so do that instead" and the client obliges." - by Anonymous Coward on Thursday September 22, @10:25AM (#37479622)
See the above, & "tell us another one", ok? IF you don't have javascript active (especially "everywhere + indiscriminately" though? Like myself, you CANNOT BE HIT BY IT, period!).
Care to debate that, you ac troll??
---
"Old servers reply with "error there is nothing other than 1.0" so that's why the default is 1.0 on clients" - by Anonymous Coward on Thursday September 22, @10:25AM (#37479622)
So, see the above - I provide tools to check "server-side" also for TLS/SSL levels, what builds of a webserver have it, as well as what a server runs... simple!
(Guess you didn't KNOW that, eh, troll? LOL...)
First of all, I am ONLY extolling the fact that Opera already has a few "built in/native" mechanisms for combatting this (perhaps the best is its "by site" prefs & not using potentially dangerous things like iframes, plugins, javascript, cookies etc./et al, rather than its TLS 1.2 option it already has).
---
"Also everybody APK is a troll" - by Anonymous Coward on Thursday September 22, @10:25AM (#37479622)
Ahem: EXCUSE ME, but aren't YOU THE ONE TROLLING VIA AC REPLIES + ADHOMINEM ILLOGICAL LIBELLING ATTACKS NOW?
Yes, you are... pot calling the kettle black!
---
"I did not want to feed him, but felt it was important to let others know not to follow his 'legit' advice." - by Anonymous Coward on Thursday September 22, @10:25AM (#37479622)
What's not "legit" about what I wrote last round in Opera being able to defend a user, BROWSER SIDE (the topic here mainly) vs. SSL type attacks like "BEAST"?
(Now, I know this AC troll will run from this, or go off topic & attempt more illogical adhominem attacks, but I always have fun with him, making him look more ignorant than he already is, everytime)...
... apk
How does this attack "get to you"? Javascript! What don't I use again?? Javascript & I've advised THAT for years no less here -> http://www.google.com/search?sclient=psy-ab&hl=en&site=&source=hp&q=%22HOW+TO+SECURE+Windows+2000%2FXP%22&btnG=Search & far longer than that (since 1997, & for security purposes).
Plus, the subject here's about this attack & the fact is, that Opera has TLS 1.2 for SSL which IS IMMUNE to it, & 1.0 is not, period... see here:
Opera implements them ALL, period!
LMAO - between my "left hand jab" with TLS 1.2 in Opera which you got so 'wrapped up in'? My RIGHT HAND KNOCKOUT PUNCH OF JAVASCRIPT LIMITING (as I have for decades) KNOCKED YOU OUT, yet again, as you continually troll me via AC replies there, "hero" (gosh why do you do that? You aren't very confident in your own words is why)!
This? Ah, I just GOTTA say it, as-is-per-my-usual style:
This was just "too, Too, TOO EASY - just '2EZ'"
APK
P.S.=> U FAIL, period, overlooking I AM IMMUNE TO THIS BECAUSE I DON'T USE JAVASCRIPT & RECOMMENDED THE SAME TO OTHERS VS. THIS HERE, AND FOR YEARS NOW... U FAIL, as usual vs. myself U trolling ac coward... give up already - you amuse me to NO end & continually make ME LOOK GOOD in doing so!
... apk
See subject-line, plus OPERA HAS A SECURITY-CHECK GUI!
Opera's View menu -> Developer Tools submenu -> Page Security Info submenu (outlines what type of SSL, TLS, certificates & such that a site offers, by PAGE no less).
" Sure you can disable javascript, but I took your original comment as do 1, 2, or 3. I wanted to let people know that doing 1 like you suggested was just a false sense of security" -
Between my suggesting others disable javascript (until they check a site via this or the other pages & methods I suggested for testing TLS/SSL levels on webservers) & this built in Opera toolset for that type of test of SSL/TLS?
* Opera 11.51 again "FTW"...
APK
P.S.=> Ah yes - there is NOTHING QUITE LIKE FLOORING A "NAYSAYER AC TROLL", & you KNOW I've just GOTTA SAY IT, as-is-per-my-usual vs. AC trolls like yourself: This? This was just "too, Too, TOO EASY - just '2EZ'"...
... apk
If you have a computer at home running on a secured network, then SSH tunneling traffic while you're elsewhere should avert the problem.