Fixed possible session corruption in swekey authentication
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog
|
|||||||
$Id$
|
$Id$
|
||||||
$HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $
|
$HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $
|
||||||
|
|
||||||
|
3.3.10.2 (not yet released)
|
||||||
|
- [security] Fixed possible session corruption in swekey authentication
|
||||||
|
|
||||||
3.3.10.1 (2011-05-20)
|
3.3.10.1 (2011-05-20)
|
||||||
- [security] XSS on Tracking page
|
- [security] XSS on Tracking page
|
||||||
|
|
||||||
|
@@ -263,11 +263,10 @@ function Swekey_login($input_name, $input_go)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr($_SERVER['QUERY_STRING'],'session_to_unset') != false)
|
if (!empty($_GET['session_to_unset']))
|
||||||
{
|
{
|
||||||
parse_str($_SERVER['QUERY_STRING']);
|
|
||||||
session_write_close();
|
session_write_close();
|
||||||
session_id($session_to_unset);
|
session_id($_GET['session_to_unset']);
|
||||||
session_start();
|
session_start();
|
||||||
$_SESSION = array();
|
$_SESSION = array();
|
||||||
session_write_close();
|
session_write_close();
|
||||||
|
Reference in New Issue
Block a user