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

New Era Company CMS - (id) SQL Injection Vulnerability

Document Title:
New Era Company CMS - (id) SQL Injection Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
Website now is providing Brand positioning, managing desired perception, communication business objectives and 
delivering consumers requirements, all of these and more are considered in developing a rewarding online experience 
for your customers and clients. We start with understanding your online presence, your audience characteristics, your 
business model and overall objectives. These insights will be captured through a series of meeting and competitor 
analysis sessions with your marketing team. Our website packages provide a convenient, affordable and timely solution 
for business owners who need to go live on the web without ignoring quality parameters. We work closely with our 
customers to create websites that enhance their company\\\\\\\'s brand image while incorporating the necessary development 
procedures that match with recent standards.

- Building corporate websites, branded sites, e-commerce sites
- Building campaign microsites, campaign landing pages, and unbranded public websites
- Tracking, analyzing, and reporting customer data
- Integrating generated websites with social media sites and other online trends and tools

(Copy of the Vendor Homepage: www.e-messages.net )

Abstract Advisory Information:
An independent vulnerability laboratory research group discovered a sql injection web vulnerability in the official New Era Company content management system (2016-Q1).

Vulnerability Disclosure Timeline:
2016-01-28: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
New Era Company
Product: New Era Company - Content Management System (Websites) 2016 Q1

Exploitation Technique:

Severity Level:

Technical Details & Description:
A remote sql injection web vulnerability has been discovered  in the official New Era Company content management system (2016-Q1).
The vulnerability allows remote attackers to execute own sql commands to compromise the web-applicaation or connected dbms.

The vulnerability is located in the `id` value of the `details.php` file. Remote attackers are able to execute sql commands by 
injection of malicious statements via GET method request. The vulnerability is located on the application-side and the request 
method to inject/execute is GET. The security vulnerability is a classic order by sql injection in the `id` value. 

The security risk of the sql injection vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 8.1.
Exploitation of the remote sql injection web vulnerability requires no user interaction or privileged 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):
				[+] GET

Vulnerable File(s):
				[+] details.php

Vulnerable Parameter(s):
				[+] id

Proof of Concept (PoC):
The sql injection web vulnerabilities can be exploited by remote attackers without privileged web-application user account or user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

intext:"powered by New Era company"

PoC: Exploitation
http://localhost:8080/details.php?id=-1'[SQL INJECTION VULNERABILITY!]--

Demo (URL):
http://www.bestrentacar.com.sa/details.php?id=18%27[SQL INJECTION VULNERABILITY!]--

Solution - Fix & Patch:
The sql injection vulnerability can be patched by implementation of a prepared statement in the details.php GEt method request.
Restrict the id parameter value and disallow usage of special chars and script code tags.
Filter the id value with a separate exception-handling to prevent further sql injeciton attacks and escape.

Security Risk:
The security risk of the remote sql injection web vulnerability in the web-application is estimated as high. (CVSS 8.1)

Credits & Authors:
Iran Cyber Security Group - 0x3a (ICG SEC)

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@xxxxxxxxxxxxxxxxxxxxx 	- research@xxxxxxxxxxxxxxxxxxxxx 	       		- admin@xxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxx or research@xxxxxxxxxxxxxxxxxxxxx) to get a permission.

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

SERVICE: www.vulnerability-lab.com
CONTACT: research@xxxxxxxxxxxxxxxxxxxxx
PGP KEY: http://www.vulnerability-lab.com/keys/admin@xxxxxxxxxxxxxxxxxxxxx%280x198E9928%29.txt