Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
phpMyAdmin - ChangeLog
|
||||
======================
|
||||
|
||||
3.4.3.1 (not yet released)
|
||||
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
|
||||
|
||||
3.4.3.0 (2011-06-27)
|
||||
- bug #3311170 [sync] Missing helper icons in Synchronize
|
||||
- patch #3304473 [setup] Redefine a lable that was wrong
|
||||
|
@@ -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_id($session_to_unset);
|
||||
session_id($_GET['session_to_unset']);
|
||||
session_start();
|
||||
$_SESSION = array();
|
||||
session_write_close();
|
||||
|
Reference in New Issue
Block a user