register_globals is enabled, and malicous site is running
in same domain.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10851
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Fixed View as HTML link so it doesn't forget it was part of a seach result.
- Don't use delimiter in IMAP subscription command, when noselect folder is
created.
+ - Security: Possible cookie theft in src/redirect.php if
+ register_globals is enabled, and malicous site is running
+ in same domain.
Version 1.5.1 (branched on 2006-02-12)
/**
* If it is in the session, just return it.
*/
- if (isset($base_uri)){
+ if (sqgetGlobalVar('base_uri',$base_uri,SQ_SESSION)){
return $base_uri;
}
$dirs = array('|src/.*|', '|plugins/.*|', '|functions/.*|');