what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

OliveOffice Mobile Suite 2.0.3 File Inclusion

OliveOffice Mobile Suite 2.0.3 File Inclusion
Posted Oct 15, 2013
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

OliveOffice Mobile Suite Application version 2.0.3 suffers from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | 7d7261b5cb9ff0d8f4b60ec12e83b4f3f6166c30074918909602721509669623

OliveOffice Mobile Suite 2.0.3 File Inclusion

Change Mirror Download
Document Title:
===============
OliveOffice Mobile Suite 2.0.3 iOS - File Include Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1110


Release Date:
=============
2013-10-13


Vulnerability Laboratory ID (VL-ID):
====================================
1110


Common Vulnerability Scoring System:
====================================
6.8


Product & Service Introduction:
===============================
OliveOffice is a mobile office suit for iOS-based devices, which is integrated with Dropbox and GoogleDocs cloud service,
providing the functionality of transferring files via Wi-Fi and allowing you to view, edit and manage all Microsoft® Office
documents ANYTIME, from virtually ANYWHERE. Beyond that, OliveOffice is also the most pragmatic viewer with quite a lot of
formats supported including .pdf, .mht, .odt, .chm, .txt, .rtf, .rar, .zip, .html and nearly all the picture formats.

( Copy of the Homepage: https://itunes.apple.com/de/app/oliveoffice/id446296792 )


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered file include and a post inject vulnerability in the OliveOffice Mobile Suite v2.0.3 iOS web-application.


Vulnerability Disclosure Timeline:
==================================
2013-10-14: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
Apple AppStore
Product: OliveOffice Mobile Suite Application 2.0.3


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


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


Technical Details & Description:
================================
A file include and a post inject vulnerability are detected in the OliveOffice Mobile Suite v2.0.3 iOS web-application.
The file include web vulnerability allows remote attackers to inject files with malicious context via POST method.

The vulnerability is located in the `Browse File Upload` module. Remote attackers are able to manipulate in the upload POST method
request the filename value. The injected script code as filename executes in the index module file dir listing. In the exploitation
phase the vulnerability allows an attacker to combine with script code inject with the file/path request.

Exploitation of the local file include web vulnerability requires no user interaction or privileged 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):
[+] OliveOffice Mobile Suite v2.0.3 - ITunes or AppStore (Apple)

Request Method(s):
[+] [POST]

Vulnerable Module(s):
[+] Browse File > Upload [POST]

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

Affected Module(s):
[+] Index File Dir Listing (http://localhost:8080/)


Proof of Concept (PoC):
=======================
The file include web vulnerability via POST request method can be exploited by remote attackers without privileged application
user account and user interaction. For demonstration or reproduce ...

Manual steps to reproduce ...

1. Install the OliveOffice app by using the itunes and appstore
2. Open the software and push the wifi button in the main menu
3. Switch to your computer and open it local in the browser (standard:=localhost:8080)
4. Start to tamper the session and include any random image via browse file + submit!
5. Exchange the filename value in the POST method request with your own filename request or app path location
6. Submit the request and refresh the wifi web interface to review the file dir index listing
7. The manipulated context of the POST method request will be visible and the file include/inject was successful


--- PoC Session Logs (POST & GET) ---
Status: 200[OK]

POST http://localhost:8080/
Load Flags[LOAD_DOCUMENT_URI LOAD_INITIAL_DOCUMENT_URI ]
Content Size[2035]
Mime Type[application/x-unknown-content-type]

Request Headers:
Host[localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Language[en-US,en;q=0.5]
Accept-Encoding[gzip, deflate]
DNT[1]
Referer[http://localhost:8080/]
Connection[keep-alive]

Post Data:
POST_DATA[-----------------------------146512977425680
Content-Disposition: form-data; name="file"; filename="<[FILE INCLUDE WEB VULNERABILITY VIA POST AS FILENAME!]">"
Content-Type: image/png
?PNG


Status: 200[OK]
GET http://localhost:8080/[FILE INCLUDE WEB VULNERABILITY VIA POST AS FILENAME!]
Load Flags[LOAD_DOCUMENT_URI ]
Content Size[1194] Mime Type[application/x-unknown-content-type]

Request Headers:
Host[localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Language[en-US,en;q=0.5]
Accept-Encoding[gzip, deflate]
DNT[1]
Referer[http://localhost:8080/]
Connection[keep-alive]

Response Headers:
Accept-Ranges[bytes]
Content-Length[1194]
Date[So., 13 Okt. 2013 13:03:47 GMT]



PoC: Index File Dir Listing

<tr><td align="center" valign="middle" width="50"><img src="/~/file_item_other_ico.png" height="32" border="0" width="32"></td>
<td align="left" valign="middle" width="*"><a href="<[FILE INCLUDE WEB VULNERABILITY VIA POST AS FILENAME!]"></a>
(Size:51,78 Kb, Last Modified:2013-10-13 15:03:45)<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>


Solution - Fix & Patch:
=======================
The vulnerability can be patched by a filename input restriction when an user is processing to upload data.
Also parse the file dir output listing in the index module to ensure the issue is patched.


Security Risk:
==============
The security risk of the local file include and post inject web vulnerabilities are estimated as high.


Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@evolution-sec.com) [www.vulnerability-lab.com]


Disclaimer & Information:
=========================
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.evolution-sec.com
Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
Section: www.vulnerability-lab.com/dev - forum.vulnerability-db.com - magazine.vulnerability-db.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 research@vulnerability-lab.com) to get a permission.

Copyright © 2013 | Vulnerability Laboratory [Evolution Security]



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

Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close