Exploit-DB #30311
Description: Phone Drive Eightythree 4.1.1 iOS - Multiple Vulnerabilities
Type: webapps
Platform: ios
Date: 2013-12-15
Author: Vulnerability-Lab

Exploit:
Document Title:
===============
Phone Drive Eightythree 4.1.1 iOS - Multiple Vulnerabilities


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1168


Release Date:
=============
2013-12-11


Vulnerability Laboratory ID (VL-ID):
====================================
1168


Common Vulnerability Scoring System:
====================================
7.6


Product & Service Introduction:
===============================
Phone Drive allows you to store, view and manage files on your iPhone or iPad. You can connect to Phone Drive from any Mac or 
PC over the Wi-Fi network and transfer files by drag & drop files straight from the Finder or Windows Explorer. Phone Drive 
features document viewer, PDF reader, music player, image viewer, voice recorder, text editor, file manager and support most 
of the file operations: like delete, move, copy, email, share, zip, unzip and more.

(Copy of the Homepage: https://itunes.apple.com/de/app/phone-drive/id431033044 )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered multiple web vulnerabilities in the official Eigthythree Phone Drive v4.1.1 iOS mobile application.


Vulnerability Disclosure Timeline:
==================================
2013-12-11:    Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
Eightythree Technologies
Product: Phone Drive - Mobile Application 4.1.1


Exploitation Technique:
=======================
Remote


Severity Level:
===============
High


Technical Details & Description:
================================
1.1
A local command/path injection web vulnerability has been discovered in the Eigthythree Phone Drive v4.1.1 mobile application for apple iOS.
The remote web vulnerability allows to inject local commands via vulnerable system values to compromise the apple iOS mobile web-application.

The vulnerability is located in the in the device name value of the index and sub category list module. Local attackers are 
able to inject own script codes as iOS device name. The execute of the injected script code occurs with persistent attack vector 
in the header section of the web interface. The security risk of the command/path inject vulnerabilities are estimated as high 
with a cvss (common vulnerability scoring system) count of 7.0(+)|(-)7.1.

Exploitation of the command/path inject vulnerability requires a local low privileged iOS device account with restricted access 
and no direct user interaction. Successful exploitation of the vulnerability results in unauthorized execute of system specific 
commands or unauthorized path requests.

Request Method(s):
				[+] [GET]

Vulnerable Parameter(s):
				[+] devicename

Affected Module(s):
				[+] Index File Dir List - [Header]


1.2
A local file/path include web vulnerability has been discovered in the Eigthythree Phone Drive v4.1.1 mobile application for apple iOS.
The file include vulnerability allows remote attackers to include (upload) local file or path requests to compromise the web-application.

The remote file include web vulnerability is located in the vulnerable filename value of the file dir list index module (web interface). 
Remote attackers can manipulate the filename value in the POST method request of the file upload form to compromise the mobile application.
Remote attackers are able to include own local files by usage of the file upload module. The attack vector is persistent and the request 
method is POST. The file include execute occcurs in the main file dir index list. The security risk of the local file include web 
vulnerability is estimated as high(+) with a cvss (common vulnerability scoring system) count of 8.8(+).

Exploitation of the local file include web vulnerability requires no user interaction or privileged web-application user account with password. 
Successful exploitation of the local web vulnerability results in application or device compromise by unauthorized local file include attacks.

Request Method(s):
				[+] [POST]

Vulnerable Module(s):
				[+] File Upload

Vulnerable Parameter(s):
				[+] filename

Affected Module(s):
				[+] Index File Dir Listing (http://localhost:80)



1.3
An arbitrary file upload web vulnerability has been discovered in the Eigthythree Phone Drive v4.1.1 mobile application for apple iOS.
The arbitrary file upload issue allows remote attackers to upload files with multiple extensions to bypass the web-server or system validation.

The vulnerability is located in the upload file module. Remote attackers are able to upload a php or js web-shells by a rename of the file with 
multiple extensions to bypass the file restriction mechanism. The attacker uploads for example a web-shell with the following name and extension 
`image.jpg.gif.js.php.jpg`. After the upload the attacker needs to open the file in the web application. He deletes the .jpg & . gif file 
extension and can access the application with elevated access rights. The security risk of the arbitrary file upload web vulnerability is 
estimated as high with a cvss (common vulnerability scoring system) count of 6.6(+).

Exploitation of the arbitrary file upload web vulnerability requires no user interaction or privilege application user account with password.
Successful exploitation of the vulnerability results in unauthorized file access because of a compromise after the upload of web-shells.


Request Method(s):
				[+] [POST]

Vulnerable Module(s):
				[+] File Upload

Vulnerable Parameter(s):
				[+] filename (multiple extensions)

Affected Module(s):
				[+] Index File Dir Listing (http://localhost:80)


1.4
A persistent input validation web vulnerability has been discovered in the Eigthythree Phone Drive v4.1.1 mobile application