Re: Session Hijacking over HTTP

From: Gleb Paharenko (gpaharenko@gmail.com)
Date: Tue Mar 18 2008 - 15:27:29 EST


Hi.

IMHO when attacker controls HTTP flow it can read and modify all data
which is sent to you. Public key cryptography can solve this issue,
however browsers have only SSL implementation (transport OSI layer) by
default. You can not use javascript implementation to protect cookies
in case it is downloaded from the site, as I said before
attacker can modify your javascript routienes when they're downloaded
for the first time. For custom, corporate solution you should use
customization and addons for browser so the user can not bypass SSL
warning. The customized software should be distributed by trusted
channel.

2008/3/18, 11ack3r <11ack3r@gmail.com>:
> Hello Everyone,
>
> I was curious to know how would webmail portals like gmail.com and
> yahoo.com protect their users from session hijacking when they use
> HTTP after authentication.
>
> As I see it is trivial to capture traffic over the wire including
> session cookies. In such a case can an attacker just reuse the session
> cookies in his/her browser and compromise the user account?
>
> WHat is the best way to protect session cookies from hijacking esp.
> due to network eavesdropping? Of course HTTPS can also be bypassed
> with MITM attacks if users ignore browser warnings.
>
> Looking forward to some knowledge here.
>
> Cheers!!
>
> ------------------------------------------------------------------------
> This list is sponsored by: Cenzic
>
> Need to secure your web apps NOW?
> Cenzic finds more, "real" vulnerabilities fast.
> Click to try it, buy it or download a solution FREE today!
>
> http://www.cenzic.com/downloads
> ------------------------------------------------------------------------
>
>

-- 
Best regards.
Gleb Pakharenko.
http://gpaharenko.livejournal.com
------------------------------------------------------------------------
This list is sponsored by: Cenzic
Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!
http://www.cenzic.com/downloads
------------------------------------------------------------------------


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:58:28 EDT