[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Alfine CMS v2.6 - (Login) Auth Bypass Vulnerability



Document Title:
===============
Alfine CMS v2.6 - (Login) Auth Bypass Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1863


Release Date:
=============
2016-06-27


Vulnerability Laboratory ID (VL-ID):
====================================
1863


Common Vulnerability Scoring System:
====================================
8.1


Product & Service Introduction:
===============================
ALFiNE IT solutions Ltd was founded in 2004 by a group of entrepreneurs with 
vast experience in the IT industry. 
We are multi-skilled software service provider with a highly competent 
workforce and strong global presence. 
With years of honed expertise in cross-platform skills and quality-integrated 
methodologies, ALFiNE adopts a 
competent global delivery model in providing value-based solutions as well as 
professional services to clients worldwide. 
We deliver cost-effective and high quality IT solutions that meet your needs 
within the specified timelines.

(Copy of the Homepage: http://alfinesolutions.com/about.aspx )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered an auth bypass in 
the Alfine Content Management System web-application.


Vulnerability Disclosure Timeline:
==================================
2016-06-26:     Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
Alfine IT Solutions Ltd
Product: Alfine CMS - Online Service (Web-Application) 2.6


Exploitation Technique:
=======================
Remote


Severity Level:
===============
High


Technical Details & Description:
================================
An auth bypass web vulnerability has been discovered in the official Alfine 
v2.6 Content Management System.
The 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 index.php login file.
Remote attackers are able to inject a classic sql payload to bypass the secure 
login authentication process.

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.

Vulnerable File:        index.php
Login:                  admin/index.php
URL:                    http://localhost:7516/admin/index.php


PoC: (Inputs)
Username: '=' 'OR'
Password: '=' 'OR'
Note: Gebruikersnaam(username) and Wachtwoord(Password)


Reference(s):
http://localhost:7516/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 Alfine CMS 
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@xxxxxxxxxxxxxxxxxxxxx         - 
research@xxxxxxxxxxxxxxxxxxxxx                                - 
admin@xxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxx) to get a ask permission.

                                    Copyright © 2016 | Vulnerability Laboratory 
- [Evolution Security GmbH]™




-- 
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research@xxxxxxxxxxxxxxxxxxxxx