Full Disclosure mailing list archives

Hi Technology & Services CMS - SQL Injection Vulnerabilities


From: Vulnerability Lab <research () vulnerability-lab com>
Date: Thu, 31 Mar 2016 13:42:03 +0200


Document Title:
===============
Hi Technology & Services CMS - SQL Injection Vulnerabilities


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


Release Date:
=============
2016-03-22


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


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


Product & Service Introduction:
===============================
We develop custom portals, intranets, extranets, CMS driven websites.
Our solutions are based on in-depth study of the business process,
desired objectives,
and target audience. We have put complex, extensive and critical
business processes online. Our applications are scalable and backed by
committed support.
Multilingual sites, API development and integration, Payment gateway
integration, bespoke Content Management Systems, integration of
open-source CMS (Joomla,
Wordpress, OsCommerce), Mailing integration are some of the
functionalities handled by us.

(Copy of the Vendor Homepage:
http://www.hitsindia.com/web_applications.asp )



Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered multiple
sql injection web vulnerabilities in the Hi Technology & Services
Content Management System.


Vulnerability Disclosure Timeline:
==================================
2016-03-23: Public Disclosure (Vulnerability Laboratory)


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


Affected Product(s):
====================

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


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


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

The vulnerabilities are located in the `news_id` value of the `news.php`
and `online_notice_board.php` files. 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 bug in the `news_id` value.

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

Vulnerable File(s):
                [+] news.php
                [+] online_notice_board.php

Vulnerable Parameter(s):
                [+] news_id


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

Dork(s):
intext:Website Powered by Hi Technology & Services inurl:.php?news_id=
site:in

PoC: Exploitation
http://localhost:8080/news.php?news_id=1government-lab[SQL INJECTION
VULNERABILITY!]--
http://localhost:8080/news.php?news_id=22government-lab[SQL INJECTION
VULNERABILITY!]--
http://localhost:8080/news_detail.php?news_id=2government-lab[SQL
INJECTION VULNERABILITY!]--
http://localhost:8080/online_notice_board.php?news_id=4government-lab[SQL INJECTION
VULNERABILITY!]--


Solution - Fix & Patch:
=======================
The sql injection vulnerability can be patched by usage of a prepared
statement and entities in the news_id GET method request. Escape the entry.


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


Credits & Authors:
==================
Iran Cyber Security Group - 0x3a (ICG SEC) [Iran-Cyber.Net]
[http://www.vulnerability-lab.com/show.php?user=Iran%20Cyber%20Security]
Special Tnx 2 : MOHAMAD_NOFOZI , root3r , Sir.H4m1d , 0day , pi.hack ,
s4jj4d , whitewolf , jok3r , MoHaMaD-BlAcK , l3gi0n, mr.turk , 0xdevil ,
king_k4li


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]™




-- 
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research () vulnerability-lab com



_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Current thread: