File Hub v3.3 iOS (Wifi) - Multiple Web Vulnerabilities
Vulnerability Laboratory ID (VL-ID):
Common Vulnerability Scoring System:
Product & Service Introduction:
File Hub helps you accessing files on your iOS Device, Cloud Service and Remote Computer. It is powerful and intuitive, View, Play many file formats,
easily transfer files between computer or iOS devices and manage files via browser on computer.
(Copy of the Vendor Homepage: https://itunes.apple.com/us/app/file-hub-powerful-intuitive/id520299954 )
Abstract Advisory Information:
The vulnerability laboratory core research team discovered multiple vulnerabilities in the official File Hub mobile iOS wifi web-application.
Vulnerability Disclosure Timeline:
2016-02-01: Public Disclosure (Vulnerability Laboratory)
Gu Jing (iMore Apps)
Product: File Hub - Mobile Web Application 3.3
Technical Details & Description:
An arbitrary file upload web vulnerability has been discovered in the official File Hub mobile iOS wifi web-application.
The arbitrary file upload web vulnerability allows remote attackers to unauthorized include local file/path requests or system specific path
commands to compromise the mobile web-application.
The web vulnerability is located in the `filename` value of the `File Upload` module. Remote attackers are able to inject own files with malicious `filename`
values in the `upload.php` file POST method request to compromise the mobile web-application. The local file/path include execution occcurs in the index file dir
listing and sub folders of the wifi interface. The attacker is able to inject the lfi payload by usage of the wifi interface or the local file sync function.
The attacker can also attach multiple file extensions to bypass the web-server file validation to execute a malicious web-shell finally. Remote attackers can
exchange the filename with a double or tripple extension via POST method to bypass the upload validation and filter process. After the upload the attacker access
the file with one extension and exchange it with the other one to execute for example own php codes.
Attackers are also able to exploit the filename issue in combination with persistent injected script code to execute different malicious attack requests.
The attack vector is located on the application-side of the wifi service and the request method to inject is POST.
The security risk of the local file include vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 7.2.
Exploitation of the arbitrary file upload web vulnerability requires no user interaction or privileged web-application user account.
Successful exploitation of the arbitrary file upload vulnerability results in mobile application compromise or connected device component compromise.
[+] File Upload
[+] File Dir Index Listing
A persistent input validation web vulnerability has been discovered in the official File Hub mobile iOS wifi web-application.
The vulnerability allows remote attacker to inject malicious persistent script codes to the application-side of the mobile application.
The vulnerability is located in the name value of the filename or rename function. Remote attackers are able to edit files by renaming them.
Thus function can be used to inject own malicious script codes to the application-side of the index file dir listing interface application.
The request method to inject is POST and the attack vector of the issue is located on the application-side of the wifi interface mobile app.
The injection point is the rename name input field and the execution point is the file dir index that displays finally the uploaded or edited
The security risk of the application-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.5.
Exploitation of the application-side web vulnerability requires no privilege web-application user account and only low or medium user interaction.
Successful exploitation of the vulnerabilities results in persistent phishing, session hijacking, persistent external redirect to malicious
sources and application-side manipulation of affected or connected module context.
[+] File Rename
[+] File Dir Index Listing
Proof of Concept (PoC):
The arbitrary file upload web vulnerability can be exploited by remote attackers without privileged web-application user account or user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.
http://localhost:8080/x[ARBITRARY FILE UPLOAD VULNERABILITY!]