Re: IIS6 - Can session id be manipulated?
- From: "John Hansen" <xxxx@xxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 13:28:45 +0100
Hi,
Thank you for the answer.
I don't think it's so much a case of whether you can grab another persons
session cookie from a non-secure line or not.
It's more like this:
I sit on computer A connected to server X
You sit on computer B connected to server X
If I can guess your session id and put that number in my own session cookie,
can I then get access to your session data?
Regards,
John
"Daniel Crichton" <msnews@xxxxxxxxxxxxxxxx> wrote in message
news:OUuKyhoYIHA.6068@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have gotten a question about how IIS6 handles the session id
(cookie).
I've got a very persistent customer who claims, that you can just
hijack another session by changing the session id in your own session
cookie.
I'm no security expert, but I find that very hard to believe. All
though I haven't been able to find documentation about how the IIS
handles the session id in a secure way, so it can't be manipulated.
Does anyone have some links to MS descriptions or something like that,
so I can show the customer you can just hijack another persons
session?
Thanks,
John
For a bit more info, try this:
http://www.microsoft.com/technet/security/Bulletin/MS00-080.mspx
it describes a patch for IIS4 and IIS5 to ensure that the session id
cookie used on secure (SSL) pages wasn't also used when viewing non-secure
pages. This helps to reduce the possibilty of a hijack if you allow
customers to view both secure and non-secure pages on your site. It still
doesn't solve the problem, as it requires that two different session IDs
are used for secure and non-secure pages, so the non-secure one could
still be hijacked.
If you're really worried about session hijacking, run everything over
SSL - while it won't completely prevent it, it reduces the risk because in
order to get the session cookie the hijacker would have to intercept the
data when it's unencrypted (either at the customer's browser, or the
server) and if that happens then you've got a lot more to worry about that
session cookies.
--
Dan
.
- Follow-Ups:
- Re: IIS6 - Can session id be manipulated?
- From: Daniel Crichton
- Re: IIS6 - Can session id be manipulated?
- References:
- IIS6 - Can session id be manipulated?
- From: Kim Hellan
- Re: IIS6 - Can session id be manipulated?
- From: Daniel Crichton
- IIS6 - Can session id be manipulated?
- Prev by Date: IIS Worker Process stopped working and was closed
- Next by Date: Re: IIS6 - Can session id be manipulated?
- Previous by thread: Re: IIS6 - Can session id be manipulated?
- Next by thread: Re: IIS6 - Can session id be manipulated?
- Index(es):
Relevant Pages
|