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

Patron Info System - SQL Injection Vulnerability



Document Title:
===============
Patron Info System - SQL Injection Vulnerability


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


Release Date:
=============
2016-03-21


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


Common Vulnerability Scoring System:
====================================
7.6


Product & Service Introduction:
===============================
Patron Info System is a pioneer in offshore software development located
in Patna, Bihar, India and was established in the year 2008.
The company journey started with initial strength of just 2 persons,
then has developed in leap & bounds during the past
4 years and delivered many potential, viable and scalable solutions to
many trusted clients across the globe with total devotion,
commitment and hard work of all involved and today stands proud with a
Extensive Team of experienced professionals.

(Copy of the Vendor Homepage:  http://patroninfosystem.com/  )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher of the iran cyber
security group discovered a remote sql injection vulnerability in the
Patron Info System web-application.


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


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


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
`menu_id`,`id`,`ads_id`,`gallary_category_id`,`mmenu`,`news`,`boxes_id`,`branch_id`,
`news_events_id` and `id` values of the
`page_details.php`,`gallery.php`,`view_ads_desc.php`,`eventsdesc.php`,`page_details.php`,
`news.php`,`boxes_details.php`,`centre_details.php`,`gallerydetails.php`
or `news_desc.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 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 7.6.
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):
                [+] page_details.php
                [+] gallery.php
                [+] view_ads_desc.php
                [+] eventsdesc.php
                [+] page_details.php
                [+] news.php
                [+] boxes_details.php
                [+] centre_details.php
                [+] gallerydetails.php
                [+] news_desc.php

Vulnerable Parameter(s):
                [+] menu_id
                [+] ads_id
                [+] gallary_category_id
                [+] mmenu
                [+] news
                [+] boxes_id
                [+] branch_id
                [+] news_events_id
                [+] 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.

PoC:
www.localhost:8000/page_details.php?menu_id=214government-lab&menu_name=news-and-eventsgovernment-lab[SQL
INJECTION VULNERABILITY!]--
www.localhost:8000/page_details.php?menu_id=P%20V%20MATCHING%20BONUSgovernment-lab[SQL
INJECTION VULNERABILITY!]--
www.localhost:8000/gallery.php?menu_id=8government-lab[SQL INJECTION
VULNERABILITY!]--
www.localhost:8000/view_ads_desc.php?ads_id=4government-lab[SQL
INJECTION VULNERABILITY!]--
www.localhost:8000/eventsdesc.php?gallary_category_id=1government-lab[SQL INJECTION
VULNERABILITY!]--
www.localhost:8000/page_details.php?mmenu=gallerygovernment-lab[SQL
INJECTION VULNERABILITY!]--
www.localhost:8000/in/news.php?news=27government-lab[SQL INJECTION
VULNERABILITY!]--
www.localhost:8000/boxes_details.php?boxes_id=172government-lab[SQL
INJECTION VULNERABILITY!]--
www.localhost:8000/zhcc/centre_details.php?branch_id=c81e728d9d4c2f636f067f89cc14862cgovernment-lab[SQL
INJECTION VULNERABILITY!]--
www.localhost:8000/online/gallerydetails.php?id=2government-lab[SQL
INJECTION VULNERABILITY!]--
www.localhost:8000/home/news_desc.php?news_events_id=24government-lab[SQL INJECTION
VULNERABILITY!]--


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


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 ,l3gi0 n , 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@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