News for hackers. Stuff that matters.
Re:7 Major Sites that Send Passwords Unprotected, & China's ... by tptacek on Wednesday January 13, 2010 @06:50PM (#1051531)
This is the whole reason for the HTTP Cookie "Secure" flag: so that session IDs set over HTTPS aren't inadvertently handed out over HTTP.

If you log in at https://mail.google.com, your entire session is encrypted. If you log in via http://mail.google.com, your password is safe, but your session ID isn't.

Re:7 Major Sites that Send Passwords Unprotected, & China's ... by ax0n on Wednesday January 13, 2010 @06:57PM (#1051545)
Good point. Also, Moxie Marlinspike's tool, SSLStrip, can break some of this stuff as well. I haven't tested it against the relatively few sites that go out of their way to set the Secure flag.