Session theft?

This is a discussion on Session theft? within the PHP Language forums, part of the PHP Programming Forums category; "Gordon Burditt" <gordonb.65c56@burditt.org> wrote in message news:cq78c8$l21@library2.airnews.net... > &...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #31 (permalink)  
Old 12-20-2004
Robert Tweed
 
Posts: n/a
Default Re: Session theft?

"Gordon Burditt" <gordonb.65c56@burditt.org> wrote in message
news:cq78c8$l21@library2.airnews.net...
>
> There was supposed to be only a short timing window where one counter
> but not the other was incremented, but it managed to hit that window
> to drop modem carrier or whatever caused the out-of-sync problem
> often enough that using session counters proved to be a real nuisance.


I don't know about the specific system in question, but one way to avoid
that problem, if you have counters advancing in realtime (as opposed to
advancing per-request), is to allow the next or previous response as well as
the expected one. You would simply have to ensure that there is also a
requirement that the same response not be allowed twice, to avoid replay
attacks.

You can even allow a greater margin of error than this, and allow both
timers to resyncronise themselves should the client drift out of sync with
the server. That way the client would need to make no requests for a long
time before any clock syncronisation problems made the two so far out of
sync that the server would refuse to recognise a valid connection.

Given enough entropy in the system, reducing that entropy by say, 5-10 to
allow for this sort of dynamic re-syncronisation, should still be high
enough that the system is secure against attackers.

- Robert


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0