Req #40470 [Asn->Wfx]: Invalid session id should specify actual ID
| From: | yohgaki@php.net | Date: | Thu, 08 Aug 2013 02:56:13 +0000 |
| Subject: | Req #40470 [Asn->Wfx]: Invalid session id should specify actual ID | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180792@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=40470&edit=1
ID: 40470
Updated by: yohgaki@php.net
Reported by: ceo at l-i-e dot com
Summary: Invalid session id should specify actual ID
-Status: Assigned
+Status: Wont fix
Type: Feature/Change Request
Package: Session related
Operating System: *
PHP Version: 5.2.1
Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
Writing user inputs to log can be cause of security issues. Invalid session ID
chars is obvious attack and you should take countermeasure rather than logging
it.
Are you using session autostart? If so, I would suggest start session manually,
register your own error handler that logs IP address when error occurred
*before* starting session.
Previous Comments:
------------------------------------------------------------------------
[2007-02-14 00:07:33] ceo at l-i-e dot com
Description:
------------
A message such as this:
[04-Dec-2006 18:21:56] PHP Warning: Unknown: The session id contains
illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown
on line 0
should be improved to specify the actual invalid ID.
A busy site with many sessions will need that info to trace down the bug quickly.
Expected result:
----------------
Something like this:
[04-Dec-2006 18:21:56] PHP Warning: Unknown: The session id '$#!^' contains
illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown
on line 0
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=40470&edit=1