Exploit-DB #20390
Description: Joomla! Component com_fireboard - SQL Injection
Type: webapps
Platform: php
Date: 2012-08-09
Author: Vulnerability-Lab

Exploit:
Title:
======
Joomla com_fireboard - SQL Injection Vulnerability


Date:
=====
2012-07-11


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=655


VL-ID:
=====
655


Common Vulnerability Scoring System:
====================================
7.3


Introduction:
=============
Joomla is a free and open source content management system (CMS) for publishing content on the World
Wide Web and intranets and a model–view–controller (MVC) Web application framework that can also be
used independently.

Joomla is written in PHP, uses object-oriented programming (OOP) techniques and software design
patterns, stores data in a MySQL database, and includes features such as page caching,
RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language
internationalization.

Joomla had been downloaded 23 million times. Between March 2007 and February 2011 there had been
more than 21 million downloads. As of November 2011, there are over 8,600 free and commercial
extensions available from the official Joomla! Extension Directory and more available from other sources.

(Copy of the Vendor Homepage: http://en.wikipedia.org/wiki/Joomla)


Abstract:
=========
The Laboratory Researcher (Nafsh) Ehram Shahmohamadi (sec-lab.ir) discovered a SQL Injection Vulnerability in 
the com_fireboard module of the joomla CMS.


Report-Timeline:
================
2012-07-11:	Public or Non-Public Disclosure


Status:
========
Published


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
A SQL Injection vulnerability is detected in the com_fireboard module of the joomla Content Management System.
Remote attackers & low privileged user accounts can execute/inject own sql commands to compromise the application dbms.
The vulnerability is located in the com_fireboard module with the bound vulnerable func fb_ parameter. 
Successful exploitation of the vulnerability result in dbms (Server) or application (Web) compromise.

Vulnerable Module(s):
				[+] index.php?option=com_fireboard

Vulnerable Parameter(s):		
				[+] func fb_


Proof of Concept:
=================
The sql injection vulnerability can be exploited by remote attackers without user inter action & with low 
privileged user account. For demonstration or reproduce ...

Dork(s):
inurl:"id=" & intext:"/com_fireboard/"

PoC:
http://[TARGET]/index.php?option=com_fireboard&Itemid=0&id=1&catid=0&func=fb_pdf'[SQL-INJECTION]

Reference(s):
xxx.com/index.php?option=com_fireboard&Itemid=0&id=1&catid=5&func=fb_pdf'[SQL-INJECTION]
xxx.com/2012/index.php?option=com_fireboard&Itemid=79&id=1&catid=2&func=fb_pdf'[SQL-INJECTION]
xxx.com/fireboard/index.php?option=com_fireboard&Itemid=38&id=22111&catid=16&func=fb_pdf'[SQL-INJECTION]
xxx.com/board/index.php?option=com_fireboard&Itemid=54&id=70122&catid=12&func=fb_pdf'[SQL-INJECTION]
xxx.com/jmfireboard/index.php?option=com_fireboard&Itemid=54&id=70122&catid=12&func=fb_pdf'[SQL-INJECTION]


Risk:
=====
The security risk of the remote sql injection vulnerability is estimated as high(+).


Credits:
========
Nafsh - Ehram Shahmohamadi - (research@sec-lab.ir) [www.sec-lab.ir] - TEAM K0242


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, 
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business 
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some 
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation 
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       - www.vulnerability-lab.com/register
Contact:    admin@vulnerability-lab.com 	- support@vulnerability-lab.com 	       - research@vulnerability-lab.com
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.com
Social:	    twitter.com/#!/vuln_lab 		- facebook.com/VulnerabilityLab 	       - youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php	- vulnerability-lab.com/rss/rss_upcoming.php   - vulnerability-lab.com/rss/rss_news.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. 
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other 
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and 
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), 
modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory



-- 
VULNERABILITY RESEARCH LABORATORY
LABORATORY RESEARCH TEAM
CONTACT: research@vulnerability-lab.com