Document Title: =============== VMPanel 2.7.4 - SQL Injection Web Vulnerability References (Source): ==================== https://www.vulnerability-lab.com/get_content.php?id=2022 Release Date: ============= 2016-12-14 Vulnerability Laboratory ID (VL-ID): ==================================== 2022 Common Vulnerability Scoring System: ==================================== 6 Product & Service Introduction: =============================== VMPanel is a powerful web based VMware Esx/Esxi Control Panel + WHMCS addon with VMPanel you can create or remove virtual machines remotely without the need to access vsphere Client aslo you can Power Off,Power On, reset,virtual machine through the panel and module for WHMCS. (Copy of the Vendor Homepage: http://www.cybervm.com/ ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered a remote sql-injection web vulnerability in the official VMPanel v2.7.4 web-application (cms). Vulnerability Disclosure Timeline: ================================== 2016-12-14: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Cyber Group Product: VMPanel - Content Management System 2.7.4 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ A remote sql injection web vulnerability has been discovered in the official VMPanel v2.7.4 web-application (cms). The web vulnerability allows remote attackers to execute own malicious sql commands to compromise the web-application or dbms. The sql-injection web vulnerability is located in the `IP Address` entry name, that is located in the pannel administration. Remote attackers are able to run clean sql commands, the vulnerability attack vector is application-side and the injection request method is POST. The security risk of the vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 6.0. Exploitation of the remote sql injection vulnerability requires no user interaction but a low privilege web-application user account. Successful exploitation of the remote sql injection results in database management system, web-server and web-application compromise. Request Method(s): [+] POST Vulnerable Module(s): [+] Input Vulnerable Parameter(s): [+] IP Address Proof of Concept (PoC): ======================= The remote sql-injection vulnerability can be exploited by remote attackers with privilege web-application user account and without user interaction. For security demonstration or to reproduce the security web vulnerability follow the provided information and steps below to continue. --- PoC Session Logs [POST]--- Status: 200 [OK] Host: localhost:2023 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:50.0) Gecko/20100101 Firefox/50.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://localhost:2023/sesswuzs6ugfaxa7ufii/index.php?act=addserver Cookie: head_ippool=2; head_storage=2; head_servers=2; ssupp.vid=UMvYqzxZJxPU8VfwJ23WTpt5PWxnqZmYHQ45341807122016; ssupp.geoloc=%7B%22ipAddress%22%3A%22176.156.184.208%22%2C%22countryCode%22%3A%22FR%22%2C%22country%22%3A%22France%22%2C%22region%22%3Anull%2C%22city%22%3Anull%7D; WHMCS4tXQk3bQ4YHY=l8580de1p2dm64gtevt7jj15s7; SIMCookies001_sid=yd0da41j3abie5zhb8jwjsd5nk6c07ce Connection: keep-alive Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded Content-Length: 141 - POST Method: server_name=&ip=[REMOTE SQL-INJECTION VULNERABILITY!]&pass=&mikip=&mikuser=&mikpass=&bw=&addserver=Add+Server --- PoC Error Logs --- SELECT * FROM `servers` WHERE `server_ip` = ''"/>>:22' MySQL Error No : 1064 MySQL Error : 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 '"/>>:22'' at line 1 Reference(s): http://localhost:2023/ http://localhost:2023/sesswuzs6ugfaxa7ufii/ http://localhost:2023/sesswuzs6ugfaxa7ufii/index.php Security Risk: ============== The security risk of the remote sql-injection web vulnerability in the content management system is estimated as high. (CVSS 6.0) Credits & Authors: ================== ZwX - (http://zwx.fr/) [http://www.vulnerability-lab.com/show.php?user=ZwX] 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 mainly for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com Section: magazine.vulnerability-lab.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.php Any modified copy or reproduction, including partially usages, of this file, resources or information 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, modify, use or edit our material contact (admin@) to get a ask permission. Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™