Exploit-DB #28236
Description: Talkie Bluetooth Video iFiles 2.0 iOS - Multiple Vulnerabilities
Type: webapps
Platform: ios
Date: 2013-09-12
Author: Vulnerability-Lab

Exploit:
Title:
======
Talkie Bluetooth Video iFiles 2.0 iOS - Multiple Vulnerabilities


Date:
=====
2013-08-30


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=1062


VL-ID:
=====
1063


Common Vulnerability Scoring System:
====================================
8.8


Introduction:
=============
Talkie Bluetooth Video iFiles allows you to connect two iPhone, iPod Touches, or iPads over Bluetooth and talk to each other. 
Turn your iPhone or iPad into a walkie-talkie and talk to each other. Instant voice chat. No registration. No costs. Try it now.

- Video Transfer
- File Transfer
- Photo Transfer
- Video Music Player
- Video playback of .mp3, .mp4, and .mov formats

A device with microphone is required. Bluetooth or wifi connection required. Range depends on local wireless coverage. 
No connection via Internet or telephone network.

(Copy of the Homepage:  https://itunes.apple.com/de/app/talkie-bluetooth-video-ifiles/id593553087 )


Abstract:
=========
The vulnerability laboratory research team discovered multiple vulnerabilities in the Talkie Bluetooth Video iFiles v2 application (Apple iOS - iPad & iPhone).


Report-Timeline:
================
2013-08-30:    Public Disclosure (Vulnerability Laboratory)


Status:
========
Published


Affected Products:
==================
Apple AppStore
Product: Talkie Bluetooth Video iFiles  2.0


Exploitation-Technique:
=======================
Remote


Severity:
=========
Critical


Details:
========
1.1
A local file/path include web vulnerability is detected in the Talkie Bluetooth Video iFiles v2 application (Apple iOS - iPad & iPhone).
The file include vulnerability allows remote attackers to include (upload) local file or path requests to compromise the application or service.

The vulnerability is located in the upload.html file when processing to add (upload) files with via POST method request manipulated filenames. 
The attacker can inject local path or files to request context and compromise the mobile device or web service. The validation has a bad side 
effect which impacts the risk to combine the attack with persistent injected script code.

Exploitation of the local file include web vulnerability requires no user interaction or privilege application user account with password. 
Successful exploitation of the vulnerability results in unauthorized local file and path requests to compromise the device or application.

Vulnerable Application(s):
				[+] Talkie Bluetooth Video iFiles v2.0 - ITunes or AppStore (Apple)

Vulnerable Module(s):
				[+] File Upload (FileMgr) - (http://localhost:1818/upload.html)

Vulnerable Parameter(s):
				[+] filename 

Affected Module(s):
				[+] Index File Dir Listing (http://localhost:1818/)



1.2
An arbitrary file upload web vulnerability is detected in the Talkie Bluetooth Video iFiles v2 application (Apple iOS - iPad & iPhone).
The arbitrary file upload issue allows a remote attacker to upload files with multiple extensions to bypass the validation for unauthorized access.

The vulnerability is located in the upload module when processing to upload files with multiple ending extensions. Attackers are able to upload 
a php or js web-shells by renaming the file with multiple extensions. The attacker uploads for example a web-shell with the following name and 
extension image.jpg.js.php.jpg . The attacker needs to open the file in the web application and deletes the .jpg file extension to access the 
picture with elevated access rights.

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.

Vulnerable Application(s):
				[+] Talkie Bluetooth Video iFiles v2.0 - ITunes or AppStore (Apple)

Vulnerable Module(s):
				[+] File Upload (FileMgr)  - (http://localhost:1818/upload.html)

Vulnerable Parameter(s):
				[+] filename (multiple extensions)

Affected Module(s):
				[+] Index File Dir Listing (http://localhost:1818/[FILE PATH]/FILE_NAME)


1.3
A persistent input validation web vulnerability is detected in the Talkie Bluetooth Video iFiles v2 application (Apple iOS - iPad & iPhone).
The bug allows remote attackers to implement/inject own malicious persistent script codes (application side) via POST method.

The vulnerability is located in the `Upload File` module of the web-server interface (http://localhost:1818) when processing to 
request via POST method manipulated `filename`. The file name will be changed to the path value without secure filter, encode or 
parse mechanism. The injected script code will be executed in the main index file dir folder listing of the mobile application.

Exploitation of the persistent web vulnerability requires low user interaction and no privilege application user account with a password. 
Successful exploitation of the vulnerability can lead to persistent session hijacking (customers), account steal via persistent web attacks, 
persistent phishing or persistent module context manipulation.

Vulnerable Application(s):
				[+] Talkie Bluetooth Video iFiles v2.0 - ITunes or AppStore (Apple)

Vulnerable Module(s):
				[+] Add File (Upload)

Vulnerable Parameter(s):
				[+] filename

Affected Module(s):
				[+] Index File Dir Listing (http://localhost:1818)



1.4
A remote denial of service vulnerability is detected in the Talkie Bluetooth Video iFiles v2 application (Apple iOS - iPad & iPhone).
The vulnerability allows remote attackers to crash the mobile application by using invalid large requests.

The vulnerability is located in the commit parameter when processing manipulated POST parameters. Attackers can request via POST 
the mobile application frontend to crash down with special c