Lucene search
K

Y-R-S CMS 2015Q4 - (ID) SQL Injection Web Vulnerability

Y-R-S CMS 2015Q4 SQL Injection Web Vulnerability in id paramete

Code
Document Title:
===============
Y-R-S CMS 2015Q4 - (ID) SQL Injection Web Vulnerability 


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


Release Date:
=============
2015-11-17


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


Common Vulnerability Scoring System:
====================================
8.2


Product & Service Introduction:
===============================
Ai.ar.as is a young and dynamic company established in 2007 by professionals in the field of computers, in order to provide a service in computers and 
Hantrnt, and is a company specializing in the design and construction of web sites and software.

(Copy of the Vendor Homepage: http://www.y-r-s.net/ )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered a remote sql injection web vulnerability in the official Y-R-S Content Management System 2015Q4.


Vulnerability Disclosure Timeline:
==================================
2015-11-17: Public Disclosure (Vulnerability Laboratory)


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


Affected Product(s):
====================
Y-R-S
Product: Y-R-S - Content Management System (CMS) 2015 Q4


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


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


Technical Details & Description:
================================
A remote sql injection web vulnerability has been discovered in the official Y-R-S Content Management System 2015-Q4.
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 `page.php` file. Remote attackers are able to execute own sql commands by 
manipulation of the GET method request with the vulnerable id parameter. The request method to inject the sql command is GET and 
the issue is located on the application-side of the `./yrs/` online-service path. The sql vulnerability allows remote attackers to 
compromise the database management system that is connected to the web-application.

The security risk of the sql injection vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 8.2.
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 Module(s):
						[+] ./yrs/

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

Vulnerable Parameter(s):
						[+] id


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

Google Dork(s):
site:.il title="yrs" 
Go to this website and choose products [ http://www.y-r-s.net ] 

PoC:
http://localhost/[path]/yrs/?id=[SQL-Injection Vulnerability!] 
http://localhost/[path]/page.php?id=[SQL-Injection Vulnerability!] 
...   ...
http://localhost/[path]/page.php?id=1456+and+6=6-- >> True 
http://localhost/[path]/page.php?id=1456+and+6=7-- >> False 


Reference(s):
http://sk-engpro.com/page.php?id=1' 
http://knisetna.com/page.php?id=1456' 
http://hakira.co.il/index.php?parent=321' 


Solution - Fix & Patch:
=======================
The vulnerability can be patched by usage of a prepared statement in the entry request of the id value. Restrict all the url parameter requests and 
disallow usage of special chars to prevent sql or script code injection attacks. Escape or filter the entry to valid the context finally.



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


Credits & Authors:
==================
Sajjad Sotoudeh - (http://www.y-r-s.net & www.white-hg.com) [http://www.vulnerability-lab.com/show.php?user=Sajjad%20Sotoudeh]
We are: KamraN HellisH - Dr.RooT - Dr.Repermind - Milad_Inj3ct0r - 4li-3ndG & All white-hg members


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:    [email protected] 	- [email protected] 	       		- [email protected]
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 
([email protected] or [email protected]) to get a permission.

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



Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation