Re: [PATCH] Modifications for ext/session/
| From: | Chris Shiflett | Date: | Tue, 26 Apr 2005 16:59:02 +0000 |
| Subject: | Re: [PATCH] Modifications for ext/session/ | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16096@lists.php.net to get a copy of this message | ||
Hans Lellelid wrote:
I haven't looked in any detail at these functions, but wouldn't you be able to prevent fixation by inquiring whether a particular session was already started? -- rather than PHP's current (IMHO flawed) behavior where a new session is simply started with whatever session is is passed in.It would raise the bar, but that's about it. An attacker visits your site (to initiate the session), determines the assigned session identifier, and then uses that session identifier (which now references an initiated session) for the session fixation attack. Chris