OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: bug in Invision Power Board

From: Boy Bear (eyal067walla.co.il)
Date: Sat Aug 09 2003 - 16:32:10 CDT


In-Reply-To: <20030809082131.25004.qmailwww.securityfocus.com>

To repair Bug to edit the file admin.php and to add after the line:

$IN['AD_SESS'] = $HTTP_POST_VARS['adsess'] ? $HTTP_POST_VARS['adsess'] :
$HTTP_GET_VARS['adsess'];

To add this :

if (isset($IN['AD_SESS'])) {
        $IN['AD_SESS'] = htmlspecialchars($IN['AD_SESS']);
}