Document Title: =============== Z Web Solutions CMS v5.1 - Auth Bypass Web Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1864 Release Date: ============= 2016-06-28 Vulnerability Laboratory ID (VL-ID): ==================================== 1864 Common Vulnerability Scoring System: ==================================== 8.1 Product & Service Introduction: =============================== The classical challenges nearly all companies are communication, marketing, sales, business processes and infrastructure. A striking example of the rapid development of the mobile Internet: 10 years ago for corporations a major project, today the Smartphone of the sole trader. E-Business provides the electronic answers to precisely these problems. Whether or Startup Group - we support your e-business development. (Copy of the Homepage: http://www.brainfruit.com/de/e-business#internetpraesenz ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered an auth bypass in the official Z Web Solutions v5.1 Content Management System. Vulnerability Disclosure Timeline: ================================== 2016-06-29: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Z Solutions Ltd Product: Z Web Solutions - Content Management System 5.1 Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ An auth bypass web vulnerability has been discovered in the official Z Web Solutions v5.1 Content Management System. The auth bypass web vulnerability allows remote attackers to bypass the basic login protection of the web-application. The auth bypass web vulnerability is located in the username and password input fields of the ./admin/ path index.php login file. Remote attackers are able to inject a classic sql payload to bypass the secure login authentication process. The request method to inject/execute the payload 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 critical with a cvss (common vulnerability scoring system) count of 8.1. Exploitation of the remote auth bypass web vulnerability requires no user interaction or privileged web-application user accounts. 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): [+] ./admin (Login) Vulnerable File(s): [+] index.php Vulnerable Input(s): [+] Username [+] Password Proof of Concept (PoC): ======================= The auth bypass vulnerability can be exploited by remote attackers without user interaction or privileged web-application user account. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Dork(s): intext:"Website design & SEO Services from Z Web Solutions" Vulnerable File: index.php Login: admin/index.php URL: http://localhost:8080/admin/index.php PoC: (Inputs) Username: '=' 'OR' Password: '=' 'OR' Note: Username & Password Reference(s): http://localhost:8080/admin/index.php Solution - Fix & Patch: ======================= 1. Escape the inputs and use entities 2. Restrict the input fields and disallow the usage of special chars 3. Encode and parse the input of the username and password parameter 4. Use a prepared statement for the login to prevent exploitation Security Risk: ============== The security risk of the remote auth bypass web vulnerability in the Z Web Solutions v5.1 Content Management System is estimated as high. (CVSS 8.1) Credits & Authors: ================== mr_mask_black - [http://www.vulnerability-lab.com/show.php?user=mr_mask_black] 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 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 Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@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 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@ or research@vulnerability-lab.com) to get a ask permission. Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™