BugTraq
WebMartIndia CMS 2016 Q1 - SQL Injection Vulnerability Jan 27 2016 02:31PM
Vulnerability Lab (research vulnerability-lab com)
Document Title:
===============
WebMartIndia CMS 2016 Q1 - SQL Injection Vulnerability

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

Release Date:
=============
2016-01-26

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

Common Vulnerability Scoring System:
====================================
7.4

Product & Service Introduction:
===============================
WebMartIndia is a uniquely competent, professional and creative website designing & internet marketing company providing full featured
internet marketing solutions and web services including B2B & B2C e-commerce solutions which also acts as an offshore development centre
for overseas development firms to help them optimize their business significance in the global market.

(Copy of the Vendor Homepage: http://www.webmartindia.in/ )

Abstract Advisory Information:
==============================
An independent vulnerability laboratory research group discovered a sql injection web vulnerability in the official WebMartIndia Content Management System (2016-Q1).

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

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

Affected Product(s):
====================
WebMartIndia
Product: Content Management System 2016 Q1

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

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

Technical Details & Description:
================================
A remote sql injection web vulnerability has been discovered in the official los818 Content Management System (2016-Q1).
The vulnerability allows remote attackers to execute own sql commands to compromise the web-applicaation or connected dbms.

The sql injection web vulnerability is located in the id value of the products-new.php, products-desc.php, products-asc.php &
products.php files. The request method to inject is GET and the attack vector of the issue is located on the application-side.
Remote attackers are able to inject own sql commands to compromise the web-application or connected database management system.

The security risk of the sql injection vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 7.6.
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):
[+] products.php (products-new.php, products-desc.php, products-asc.php & products.php)

Vulnerable Parameter(s):
[+] id
[+] sid

Proof of Concept (PoC):
=======================
The remote sql injection web vulnerability 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.

Dork(s):
intext:Powered By WebMartIndia inurl:product.php?id=

PoC: Example
/product.php?id=[SQLi]

PoC:
www.[DOMAIN].com/product.php?id=2'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].com/product.php?id=5%27&&pid=8%27'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].com/products.php?id=1%27'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].co/blowkings/product-desc.php?id=37%27'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].in/product.php?id=3%27'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].in/products.php?id=2'&&sid=9'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].com/products.php?id=5&&sid=8%27'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].com/products.php?id=2%27'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].in/products-new.php?cid=2%27&subid=4%27'[SQL INJECTION VULNERABILITY!]--
www.[DOMAIN].in/product.php?id=19%27'[SQL INJECTION VULNERABILITY!]--

Solution - Fix & Patch:
=======================
The vulnerability can be patched by usage of a prepared statement in the products.php file GET method request.
Encode the id value and parse the context to prevent against sql injection or script code injection attacks. Disallow usage of special chars and escape the entry.

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

Credits & Authors:
==================
Iran Cyber Security Group - 0x3a (ICG SEC) [Iran-Cyber.Net]
Spc Thnx 2: root3r , mohamad-nofozi , jok3r , pi.hack , 0day , m0hamad-black , wh1tew0lf , mr.turk and all member of iran-cyber.net

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 (at) vulnerability-lab (dot) com [email concealed] - research (at) vulnerability-lab (dot) com [email concealed] - admin (at) evolution-sec (dot) com [email concealed]
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 (at) vulnerability-lab (dot) com [email concealed] or research (at) vulnerability-lab (dot) com [email concealed]) to get a permission.

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

--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research (at) vulnerability-lab (dot) com [email concealed]
PGP KEY: http://www.vulnerability-lab.com/keys/admin (at) vulnerability-lab (dot) com [email concealed]%280x19
8E9928%29.txt

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus