Document Title: =============== Virtual Freer v1.57 - Authentication Bypass Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1592 Release Date: ============= 2015-09-03 Vulnerability Laboratory ID (VL-ID): ==================================== 1592 Common Vulnerability Scoring System: ==================================== 8.9 Product & Service Introduction: =============================== Charge cards and virtual goods sales script! (Copy of the Vendor Homepage: http://freer.ir/virtual/ ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered an authentication bypass vulnerability in the official Virtual Freer v1.57 web-application. Vulnerability Disclosure Timeline: ================================== 2015-09-04: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ An auth bypass session vulnerability has been discovered in the official in the official Virtual Freer v1.57 content management system. The session vulnerability allows remote attackers to unauthorized access the administrator panel or the web user interface. The vulnerability is located in the session credentials request of the login.php file. Remote attackers are able to use a 1=1 sql payload to bypass the login.php script validation. Thus results in unauthorized access to the administrator panel. The issue is a classic auth bypass and is remot exploitable. The request method to inject is POST and the attack vector is located on the application-side of the online-service. The security risk of the auth bypass vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 8.9. Exploitation of the auth bypass session web vulnerability requires no privilege application user account or user interaction. Successful exploitation of the vulnerability results in unauthorized access to the admin panel, defacement, web-application and dbms compromise. Request Method(s): [+] GET Vulnerable Module(s) [+] Login (Session) Vulnerable File(s): [+] login.php Affected Module(s) [+] Account System - (./back) Proof of Concept (PoC): ======================= The auth bypass vulnerability can be exploited by remote attackers without privilege application user account or user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Manual steps to reproduce the vulnerability ... 1 . Open the vulnerable web-app 2 . Start to browse the website and go to http://localhost:8080/back/login.php 3 . Enter Username: \ 4 . Enter Password: or 1=1 -- /* 5 . Now you will login with the credentials 6 . Successful reproduce of the auth bypass login vulnerability! PoC: login.php Enter Username: \ Enter Password: or 1=1 -- /* Reference(s): http://localhost:8080/virtual/demo/back/login.php Security Risk: ============== The security risk of the remote auth bypass web vulnerability in the login.php file is estimated as high. (CVSS 8.9) Credits & Authors: ================== Mohammad Reza Espargham (reza.espargham@gmail.com) - [https://twitter.com/rezesp] [www.reza.es] 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]™