Lucene search
K

Air Share v1.2 iOS - Multiple Cross Site Web Vulnerabilities

Air Share v1.2 iOS web-app has multiple cross-site vulnerabilities allowing remote attackers to manipulate client- and application-side requests, leading to session hijacking and phishing attacks

Code
Document Title:
===============
Air Share v1.2 iOS - Multiple Cross Site Web Vulnerabilities


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


Release Date:
=============
2020-04-21


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


Common Vulnerability Scoring System:
====================================
4.4


Vulnerability Class:
====================
Multiple


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


Product & Service Introduction:
===============================
Air Share Transfer Music, Videos, Documents, Photos or Any Files from PC / Mac to your iPhone / iPad by just Drag & Drop.
File types supported by Air Share to preview or to play. You can even use Air Share as a wireless USB drive to carry any 
file type without any problem.

(Copy of the Homepage: https://apps.apple.com/de/app/air-share-wifi-file-transfer/id1126257410 )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered multiple cross site web vulnerabilities in the official Air Share v1.2 mobile ios web-application.


Affected Product(s):
====================
Dropouts Technologies LLP
Product: Air Share v1.2 (iOS) Mobile Application (+Lite Version)


Vulnerability Disclosure Timeline:
==================================
2020-04-22: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Authentication Type:
====================
Open Authentication (Anonymous Privileges)


User Interaction:
=================
Low User Interaction


Disclosure Type:
================
Full Disclosure


Technical Details & Description:
================================
Multiple cross site and validation web vulnerabilities has been discovered in the official Air Share v1.2 mobile ios web-application.
The vulnerability allows remote attackers to inject own malicious script codes with persistent and non-persistent attack vector to 
compromise client- and application-side requests of the mobile ios application.

1.1
The first vulnerability is located in the `path` parameter of the `list` and `download` exception-handling. Remote attackers are able 
to inject own malicious script code to the path parameter to manipulate the error message output context of the air share ui. The request 
method to inject is GET and the attack vector is located on the client-side of the mobile ios web-application. 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.

1.2
The second web vulnerability is located in the `devicename` parameter that is displayed on the top next to the Air Share index list. 
Remote attackers are able to inject own malicious persistent script code by manipulation of the local apple devicename information.
The injection point is the devicename information and the execution point occurs in the file sharing ui panel of the air share 
mobile web-application. 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):
[+] GET

Vulnerable Parameter(s):
[+] download
[+] list

Vulnerable Parameter(s):
[+] path
[+] devicename


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


PoC: Vulnerable Source
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>HTTP Error 404</title></head><body><h1>
HTTP Error 404: &quot;>&quot;<iframe src=a onload=alert(document.domain)>&quot; does not exist</h1><h3></h3></body></html>

PoC: Payload
%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.domain)%3E


PoC: Exploitation
http://localhost/list?path=%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.domain)%3E
http://localhost/download?path=%3E%22%3Ciframe%20src=evil.source%20onload=alert(document.domain)%3E


1.2
The persistent input validation web vulnerability can be exploited by local attackers with physical device control with low user interaction.
For security demonstration or to reproduce the security web vulnerability follow the provided information and steps below to continue.


PoC: Vulnerable Source
<div class="panel-default">
<div class="panel-heading">
<ol class="breadcrumb" id="path" style="cursor:pointer;"><li class="active">[MALICIOUS EXECUTION POINT OF IOS DEVICENAME]</li></ol>
</div>
<div class="col-md-12 container" style="min-height:250px;height:100%;background-color:rgba(255,255,255,0.5);border-radius:0 0 5px 5px; margin-bottom:25px;width:100%;">
<table class="table" style="width:100%; word-break:break-word;"><tbody id="listing"><tr class="row-file">
<td class="column-icon">


Solution - Fix & Patch:
=======================
1.1
The client-side xss vulnerabilities can be patched by a secure parse and restriction to filter in the list and download the path parameter.
Secure in the exception-handling the error message output content to fully resolve the execution point of the issue.

1.2
The vulnerability can be patched by a secure sanitize and parse of the devicename values that is displayed above the main resource list.


Security Risk:
==============
The security risk of the multiple cross site scripting web vulnerabilities in the mobile wifi web-application is estimated as medium.


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