News for hackers. Stuff that matters.
Re:Public key pinning coming in Chrome 13 by trotsky on Wednesday May 04, 2011 @04:30PM (#2515186)
An attacker that is able to MITM your traffic or poison your DNS can steal your session before you ever get to the trusted https url.

http://www.thoughtcrime.org/software/sslstrip/

Re:Public key pinning coming in Chrome 13 by y0ghur7_xxx on Wednesday May 04, 2011 @04:34PM (#2515202)
But that is a problem with STS too. That is why google is HSTS preloading a lot of google domains in their browser (they hardcode the domains). Couldn't they just hardcode the redirect so that if the user types http://gmail.com/ chrome replaces it with https://gmail.com?
Re:Public key pinning coming in Chrome 13 by trotsky on Wednesday May 04, 2011 @04:42PM (#2515218)
STS solves the problem unless the attacker has a fraudulent certificate for the domain you are reaching that is signed by a CA you trust. Presumably this is far fewer attackers than those who could manipulate your DNS or are on your local network to ARP in as a middleman. Basically, two different problems - the trust only X CA for xxx.com wouldn't ever get to come into play if someone using sslstrip simply keeps you from ever going to tls.
Re:Public key pinning coming in Chrome 13 by extension on Wednesday May 04, 2011 @10:14PM (#2515942)
It's a problem with STS the first time the browser visits a particular site. Once the browser receives the STS header, all future requests to that site will be over HTTPS.