Carsten Eilers
15/08/06, 23:50
sh3ll@sh3ll.ir schrieb am Sat, 12 Aug 2006 10:03:15 +0000:
>-------------admin.php--------------------------------------
>
>....
>
><=3Fphp
>
> include=5Fonce($language);
>
> =3F>
>
>...
Take a look at config.php:
$language =3D "lang=5Feng.php";
an at admin.php:
<=3F
include "config.php";
include=5Fonce('includes/template.php');
include=5Fonce($language);
$template =3D new Template('templates/') ;
Ups... :-)
>-------------event.php--------------------------------------
This one works. BTDT.
>-------------initialize.php-----------------------------------
This one works, too.
>-------------myevent.php------------------------------------
Have you even tried to run this script=3F
|=A0Parse error: parse error in XXXXXX/myevent/myevent.php on line 4
Missing ; in line 3:
| $myevent=5Fpath =3D""
Oh oh...
>-------------viewevent.php-----------------------------------
This one works, too.
>PoC:
>
>~~~
>
>http://www.target.com/[myEvent]/admin.php=3Flanguage=3D[Evil Script]
>
>http://www.target.com/[myEvent]/event.php=3Fmyevent=5Fpath=3D[Evil Script]
>
>http://www.target.com/[myEvent]/initialize.php=3Fmyevent=5Fpath=3D[Evil =
Script]
>
>http://www.target.com/[myEvent]/myevent.php=3Fmyevent=5Fpath=3D[Evil =
Script]
>
>http://www.target.com/[myEvent]/viewevent.php=3Fmyevent=5Fpath=3D[Evil =
Script]
Did you test all of them=3F That way=3F
I don't think so.
Regards
Carsten
--
Dipl.-Inform. Carsten Eilers
IT-Sicherheit und Datenschutz
<http://www.ceilers-it.de>
>-------------admin.php--------------------------------------
>
>....
>
><=3Fphp
>
> include=5Fonce($language);
>
> =3F>
>
>...
Take a look at config.php:
$language =3D "lang=5Feng.php";
an at admin.php:
<=3F
include "config.php";
include=5Fonce('includes/template.php');
include=5Fonce($language);
$template =3D new Template('templates/') ;
Ups... :-)
>-------------event.php--------------------------------------
This one works. BTDT.
>-------------initialize.php-----------------------------------
This one works, too.
>-------------myevent.php------------------------------------
Have you even tried to run this script=3F
|=A0Parse error: parse error in XXXXXX/myevent/myevent.php on line 4
Missing ; in line 3:
| $myevent=5Fpath =3D""
Oh oh...
>-------------viewevent.php-----------------------------------
This one works, too.
>PoC:
>
>~~~
>
>http://www.target.com/[myEvent]/admin.php=3Flanguage=3D[Evil Script]
>
>http://www.target.com/[myEvent]/event.php=3Fmyevent=5Fpath=3D[Evil Script]
>
>http://www.target.com/[myEvent]/initialize.php=3Fmyevent=5Fpath=3D[Evil =
Script]
>
>http://www.target.com/[myEvent]/myevent.php=3Fmyevent=5Fpath=3D[Evil =
Script]
>
>http://www.target.com/[myEvent]/viewevent.php=3Fmyevent=5Fpath=3D[Evil =
Script]
Did you test all of them=3F That way=3F
I don't think so.
Regards
Carsten
--
Dipl.-Inform. Carsten Eilers
IT-Sicherheit und Datenschutz
<http://www.ceilers-it.de>