security - Gmail and Facebook Profile-specific HTTPS: Vulnerable? -


i've begun wonder something:

given gmail , facebook use https on per-profile basis, , don't use default, connections them vulnerable?

i'm not familiar @ protocols involved, reasoning goes this: browser needs figure out whether or not use https, , default, doesn't. means whenever point page facebook.com, browser sends piece of information (perhaps session id?) on unencrypted channel facebook, before figuring out whether or not i've requested https. (please correct me if i'm wrong, don't believe uses secure connection sending this.)

doesn't mean hijack session id in middle of unsecure connection? potential vulnerability?

cookies use secure flag sent via https. possible redirect http https , avoid sending session cookies on http before redirection wouldn't count on never connect gmail using http://mail.google.com/ - https://mail.google.com/

actually checked , gmail seems set 6 cookies - 3 of secure. when visit http://mail.google.com/mail/ browser sends email address in cleartext see before redirected https.

as security of facebook... recommend watching "how met girlfriend" talks samy kamkar at defcon (shorter) , at blackhat (longer).

update avoid confusion in comments: samy kamkar explained method guess facebook session cookie https doesn't matter @ here. point can use https , still vulnerable session hijacking.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -