Home page logo
/

bugtraq logo Bugtraq mailing list archives

Olive File Manager v1.0.1 iOS - Multiple Vulnerabilities
From: Vulnerability Lab <research () vulnerability-lab com>
Date: Tue, 16 Jul 2013 01:15:48 +0100

Title:
======
Olive File Manager v1.0.1 iOS - Multiple Vulnerabilities


Date:
=====
2013-07-13


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


VL-ID:
=====
1009


Common Vulnerability Scoring System:
====================================
5.6


Introduction:
=============
A powerful file manager and well-designed office suit. Multiple features all in one app, coming with new functions 
every 2 weeks! 
These are all in Olive File Manager! Once you have it, ask for nothing else! Powerful file manager: Retain your use 
habits with PC 
file manager such as copy and paste. Capable of opening documents like mail attachments from other apps. Support for 
multiple 
display mode(e.g. list, thumbnail, grid), sending documents as mail attachments, screening display, sorting and 
searching documents, etc.

A wireless USB flash disk
A compressing & decompressing tool
An encrypted safe box
An e-book reader
A GoogleDocs terminal
A Dropbox terminal
A picture viewer
A music player
A video player

Office Suite: Multiple formats supports available, including doc, docs, xls, xlsx, ppt, pptx, pdf, txt, rtf, html, 
iwork, etc.
Wireless USB flash disk: This enables you to transfer your files from your USB disk to your iPad through WIFI.
Compressing & decompressing: Support for decompression and package compression for .zip and .rar files.

Encrypted safe box: You can set a password on your Olive File Manager and never need to worry about your documents 
being exposed when 
someone is playing your iPad. Cloud: GoogleDocs and Dropbox supports are available with the function of synchronous 
upload and download 
of files(More Cloud supports are under development). Picture Viewer: Support for common image formats such as .png, 
.bmp and .jpg.
Music & Video Player: Support for common video formats including MP3, AAC, 3GP, avi, au, wav, MP4, mov and m4a

(Copy of the Vendor Homepage:  https://itunes.apple.com/de/app/olive-file-manager/id529493702 )


Abstract:
=========
The Vulnerability Laboratory Research Team discovered multiple vulnerabilities in the Olive File Manager v1.0.1 
application (Apple iOS - iPad & iPhone).


Report-Timeline:
================
2013-07-13:    Public Disclosure (Vulnerability Laboratory)


Status:
========
Published


Affected Products:
==================
Apple AppStore
Product: Olive File Manager Wifi 1.0.1


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


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


Details:
========
1.1
A local file include and arbitrary file upload web vulnerability is detected in the Olive File Manager v1.0.1 
application (Apple iOS - iPad & iPhone).
The vulnerability allows remote attackers to upload files via POST method with multiple extensions to unauthorized 
access them on application-side of the service.

The vulnerability is located in the file upload/add module of the web-server (http://localhost:8797/) when processing 
to request 
a manipulated filename via POST. The injected file will be accessable via the index listing module of the web 
application.

Remote attackers can exchange the filename with a double or tripple extension bia 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 php codes.

A persistent script code injection is detected in the filename parameter. Attackers can tamper the request and exchange 
the file name with 
persistent malicious script code or tags. The code will be executed in the main index site when processing to list the 
object (file) items.
Attackers are also able to inject persistent code with local frame requests to unauthorized access application 
data/apps or restricted 
application information. The execution of the persistent code also occurs when an application user is processing to 
refresh, update or delete 
the malicious web context.

Exploitation of the vulnerability requires no user interaction and also without privilege application user account (no 
password standard).
Successful exploitation of the vulnerability results in unauthorized path or file access via local file include or 
arbitrary file upload.

Vulnerable Application(s):
                                [+] Olive File Manager v1.0.1 - ITunes or AppStore (Apple)

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

Vulnerable File(s):
                                [+] AirDriveAction_file_add

Vulnerable Parameter(s):
                                [+] filename

Affected Module(s):
                                [+] Application Index File Listing (http://localhost:8797/)



1.2
A persistent input validation web vulnerability is detected in the Olive File Manager v1.0.1 application (Apple iOS - 
iPad & iPhone).
The bug allows an attacker (remote) to implement/inject malicious script code on the application side (persistent) of 
the app.

The vulnerability is located in the index file dir listing module of the web-server (http://localhost:8797/) when 
processing to 
display via POST request method injected manipulated `folder names`. The persistent script code will be executed in the 
main 
index file dir listing module when the service lists the new malicious injected foldername as item.

Exploitation of the persistent web vulnerability requires low or medium user interaction without application user 
account.
Successful exploitation of the vulnerability can lead to persistent session hijacking (customers), account steal via 
persistent 
web attacks, persistent phishing or stable (persistent) certificate mail notification context manipulation.

Vulnerable Application(s):
                                [+] Olive File Manager v1.0.1 - ITunes or AppStore (Apple)

Vulnerable Module(s):
                                [+] Add Folder

Vulnerable Parameter(s):
                                [+] foldername

Affected Module(s):
                                [+] Index Folder Listing (http://localhost:8797/)


Proof of Concept:
=================
1.1
The file include and arbitrary file upload vulnerability can be exploited by remote attackers without privilege 
application user account 
and without required user interaction. For demonstration or reproduce ...

PoC: Filename

<div class="file_list_container"><div class="file_list_item"><table height="50px" border="0" cellpadding="0" 
cellspacing="0" width="100%"><tbody><tr><td align="center" valign="middle" width="50"></td><td align="left" 
valign="middle" width="*"><a href="..">..</a>
</td></tr></tbody></table></div><div class="file_list_item"><table height="50px" border="0" cellpadding="0" 
cellspacing="0" width="100%"><tbody><tr><td align="center" valign="middle" width="50"></td><td align="left" 
valign="middle" width="*"><a href="<[LOCAL FILE/PATH REQUEST!]"></a>                    
(Size:27,27 Kb, Last Modified:2013-07-12 18:34:15)<br />
</td></tr></tbody></table></div><div class="file_list_item"><table width="100%" height="50px" border="0" 
cellpadding="0" cellspacing="0"><tbody><tr><td width="50" align="center" valign="middle"></td><td width="*" 
align="left" valign="middle"><a href=">">[LOCAL FILE/PATH REQUEST!]></a>                        
(Size:27,27 Kb, Last Modified:2013-07-12 18:33:42)<br />
</td></tr></tbody></table></div></div></div><div class="footer"><div class="footer_text">Copyright © 2008 
OliveOffice,Inc.
</div></div></body></html></iframe></a></td></tr></tbody></table></div></div>


--- POST Method Request Log ---

POST_DATA[-----------------------------151253266715950
Content-Disposition: form-data; name="file"; filename=">"[LOCAL FILE/PATH REQUEST!]>.png"
Content-Type: image/png


1.2
the persistent input validation web vulnerability can be exploited by remote attackers without privilege application 
user account and
with low or medium required user interaction. For demonstration or reproduce ...

PoC: Foldername

<div class="file_list_container"><div class="file_list_item"><table height="50px" border="0" cellpadding="0" 
cellspacing="0" width="100%"><tbody><tr><td align="center" valign="middle" width="50"></td><td align="left" 
valign="middle" width="*"><a href="..">..</a>
</td></tr></tbody></table></div><div class="file_list_item"><table height="50px" border="0" cellpadding="0" 
cellspacing="0" 
width="100%"><tbody><tr><td align="center" valign="middle" width="50"></td><td align="left" valign="middle" 
width="*"><a href="%20[PERSISTENT INJECTED SCRIPT CODE!]>" <[PERSISTENT INJECTED SCRIPT CODE!]">/">%20>
"<[PERSISTENT INJECTED SCRIPT CODE!]">/</a>                     
(Size:0 Kb, Last Modified:2013-07-12 18:26:31)<br />
</td></tr></tbody></table></div></div></div><div class="footer"><div class="footer_text">Copyright © 2008 
OliveOffice,Inc.
</div></div></body></html></iframe></a></td></tr></tbody></table></div></div>


Solution:
=========
1.1
The arbitrary file upload web vulnerability and the upload filter bypass issue is estimated as high(+).

1.2
The security risk of the persistent input validation vulnerabilities is estimated as high(-).


Risk:
=====
The security risk of the persistent input validation web vulnerability is estimated as high(-).


Credits:
========
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm () evolution-sec 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:    admin () vulnerability-lab com      - support () vulnerability-lab com             - research () 
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, 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 (admin () vulnerability-lab com or support () vulnerability-lab com) to get a 
permission.

                                        Copyright © 2013 | Vulnerability Laboratory

-- 
VULNERABILITY LABORATORY RESEARCH TEAM
DOMAIN: www.vulnerability-lab.com
CONTACT: research () vulnerability-lab com



  By Date           By Thread  

Current thread:
  • Olive File Manager v1.0.1 iOS - Multiple Vulnerabilities Vulnerability Lab (Jul 16)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault