WebComIndia CMS 2015Q4 Authentication Bypass Vulnerability

ID 1337DAY-ID-24394
Type zdt
Reporter Aaditya Purani
Modified 2015-10-10T00:00:00


WebComIndia CMS 2015Q4 suffers from an authentication bypass vulnerability via remote SQL injection.

                                            Document Title:
WebComIndia CMS 2015Q4 - Auth Bypass Vulnerability

Product & Service Introduction:
Where quality & reliability converge. Web.Com (India) is an ISO 9001:2008 certified Software company specialising in custom software development, 
web design and development, mobile app development, SEO and SMO Services in Guwahati, Assam. Deploying the latest technologies, we deliver solutions 
that offer high levels of consistency in quality and performance. Our technological intelligence spans several platforms, languages and databases. 
As a leading IT solutions provider, our technical skill set is ever up-to-date, comprising of the latest and the quintessential. 

(Copy of the Vendor Homepage: http://www.webcomindia.biz/ )

Abstract Advisory Information:
An independent vulnerability laboratory researcher discovered an auth bypass vulnerability in the official WebComIndia Content Management System (web-application).

Affected Product(s):
WebComIndia Ltd
Product: WebComIndia.Biz - Content Management System 2015 Q4

Technical Details & Description:
An auth bypass web vulnerability has been discovered in the official WebComIndia Content Management System 2015Q4.
The vulnerability allows remote attackers to bypass the login mechanism of the web-application to compromise the service.

The auth bypass web vulnerability has been discovered in the Username input field of the login module. Remote attackers 
are able to bypass the mechanism to unauthorized login to the web-application. The vulnerability is located in the code-line 
on the application-side of the online-service. The request method to inject/execute is POST and the injection point is the Username.
The vulnerability is a classic login auth bypass that allows to finally compromise the dbms and web-application at the end.

The security risk of the auth bypass vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 8.3. 
Exploitation of the login form auth bypass web vulnerability requires no privilege web-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):
      [+] POST

Vulnerable Module(s)
      [+] Login 

Affected Module(s)
      [+] Account System - (Admin Panel)

Vulnerable Parameter(s):
      [+] Username

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 website
2. Surf to the admin panel
3. Inject to the Username input the following content `admin'-- -`
4. Include any random value as Password input and save the form to continue
5. Click on Login and you will be able to bypass login 
Note: The Username input field and request is not sanitized properly
6. Successful reproduce of the remote auth bypass vulnerability!

Website:   http://[server].com/
Admin Panel:  http://[server].com/admin

PoC: (Input)
Username: admin'-- - 
Password: purani
>  Login Bypass successful!

Note: The password value can be choosen randomly by the attacker!

Solution - Fix & Patch:
The vulnerability can be patched by a secure parse and encode or escape of the Username value input.
Restrict the input and disallow special chars. Include an exception that prevents by usage of a prepared statement.

Security Risk:
The security risk of the auth bypass vulnerability in the Username input field and login request is estimated as high. (CVSS 8.3)

#  0day.today [2018-04-11]  #