Title:
======
USB Disk & File Transfer v1.3.1 - File Include Vulnerability


Date:
=====
2013-02-20


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=881


VL-ID:
=====
881


Common Vulnerability Scoring System:
====================================
5.3


Introduction:
=============
USB Disk & File Transfer allows to store, view and manage files on your iPhone, 
iPad or iPod touch. You can connect from any 
computer over the Wi-Fi network and transfer files. Access to your Dropbox, 
Box, Google Drive or SkyDrive account to upload, 
download files and more. Also, exchange files between iPhone, iPhone or iPod 
touch, using wifi or bluetooth.

USB Disk & file Transfer features document viewer, PDF reader, music player, 
video player, image viewer, text editor, file 
manager and supports ZIP and RAR.

Supported files: AVI, FLV, DIVX, ZIP, RAR, Rx, PDF, MP3, M4P, AAC, WAV, M4A, 
MPV, M4V, MP4, MOV, 3GP, DOC, DOCX, XLS, XLSX, PPSX, 
PPTX, PPS, PPT, RTF, PAGES, NUMBERS, KEY, JPG, JPEG, PNG, GIF, BMP, PCX, TIFF, 
TIF, BMPF, ICO, CUR, XBM, HTML, TXT, 
text files like: C, M, H,...

(Copy of the Homepage: 
https://itunes.apple.com/us/app/usb-disk-file-transfer/id516927225 )


Abstract:
=========
The Vulnerability Laboratory Research Team discovered a file include web 
vulnerability in the mobile USB Disk & File Transfer v1.3.1 app for the apple 
ipad & iphone.


Report-Timeline:
================
2013-02-20:     Public Disclosure


Status:
========
Published


Affected Products:
==================
Apple
Product: USB Disk & File Transfer 1.3.1


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


Severity:
=========
High


Details:
========
A local file include web vulnerability via POST request method is detected in 
the mobile USB Disk & File Transfer v1.3.1 app for the apple ipad & iphone.
The vulnerability allows remote attackers via POST method to inject local app 
webserver folders to request unauthorized local webserver files.

The vulnerbility is located in the upload file module of the webserver 
(http://192.168.0.102:8080) when processing to load a manipulated 
name or path via POST. The execution of the injected path or name of the file 
request will occur when the attacker is processing to watch 
the file dir listing on the main index site.

Exploitation of the vulnerability requires no user interaction and can be done 
without privileged application user account (no password standard).
Successful exploitation of the vulnerability results in unauthorized path or 
file access via local file or path include attack.

Vulnerable Application(s):
                                [+] USB Disk & File Transfer v1.3.1 - ITunes or 
AppStore (Apple)

Vulnerable Module(s):
                                [+] File Upload  (Web Server) [Remote]

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

Affected Module(s):
                                [+] File Dir Index Listing


Proof of Concept:
=================
The local file include web vulnerability can be exploited by remote attackers 
without privileged application user account and 
also without required user interaction. For demonstration or reproduce ...

PoC:
http://192.168.0.102:8080/files/?_=[FILE OR PATH INCLUDE VULNERABILITY!]


Review: Index Listing - Name & Path

{"currentDir":"","files":[{"name":"[FILE INCLUDE 
VULNERABILITY!].png","tam":"27.3 KB","date":"18.02.13 23:18",
"type":"FILE","path":"[PATH INCLUDE 
VULNERABILITY!.png","id":0},{"name":"8765434.png","tam":"228.5 
KB","date":"18.02.13 

23:23","type":"FILE","path":"8765434.png","id":1}]}


Manually steps to reproduce ...
1. Start the application or scan for a available application
2. Visit the web interfact by opening the following network ip 
192.168.0.102:8080 in your browser
3. Start the your session tamper to manipulate the next POST request
4. Choose a file to upload and activate the tamper
5. Replace the path or name values with your own local app path or local file 
to request after sending
6. Send the data to the webserver via POST and watch the index listing to 
provoke the execution out of the file dir listing (name & path)
7. Successful reproduced!


Reference(s):
http://192.168.0.102:8080/


Risk:
=====
The security risk of the local file/path include web vulnerability via POST 
request method is estimated as high(+).


Credits:
========
Vulnerability Laboratory [Research Team]  -    Benjamin Kunz Mejri 
(b...@vulnerability-lab.com)


Disclaimer:
===========
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:    www.vulnerability-lab.com           - www.vuln-lab.com              
               - www.vulnerability-lab.com/register
Contact:    ad...@vulnerability-lab.com         - supp...@vulnerability-lab.com 
               - resea...@vulnerability-lab.com
Section:    video.vulnerability-lab.com         - forum.vulnerability-lab.com   
               - news.vulnerability-lab.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

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, sourcecode, 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 (ad...@vulnerability-lab.com or 
supp...@vulnerability-lab.com) to get a permission.

                                        Copyright © 2013 | Vulnerability 
Laboratory



-- 
VULNERABILITY RESEARCH LABORATORY
LABORATORY ADMINISTRATION
CONTACT: ad...@vulnerability-lab.com


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Reply via email to