ownCloud server 10.0.2XSS in Error Page
Share tokens for public calendars disclosed
Normal user can somehow make admin to delete shared folders
XSS in search dialogue
ownCloud desktop 2.2.3Local Code Injection
ownCloud mobile iOS 3.4.4Improper validation of certificates within the iOS application
Credentials potentially leaked to other configured ownCloud instance
Local file inclusion in core (oC-SA-2014-018)
15th July 2014
Risk level: High
Due to an improper control of the filename for a
require_once() statement in the routing component a limited local file inclusion vulnerability is existent in all below mentioned ownCloud versions.
Depending on the ownCloud configuration and the authentication state of a remote attacker this vulnerability may have different impact. Specifically:
- An unauthenticated remote attacker is able to reinstall the instance in case he is able to connect to a database or the SQLite driver is installed. This will overwrite the existing configuration and existing users will not be able to login anymore. This attack is very likely to be noticed, however an attacker is granted administrative access to the ownCloud instance. If a backup of the configuration file is accessible for the web server user the attacker might restore it after a successful exploitation to cover the attack
- An unauthenticated remote attacker is able to execute arbitrary PHP code if he is able to upload files using the public upload functionality and he can guess the full path of the folder.
- An authenticated remote attacker is able to execute arbitrary PHP code if the
/data/directory is below the ownCloud root. The directory can be moved using the
ownCloud Inc. is currently not aware of any active attack that are exploiting this vulnerability. To verify whether your installation might have been attacked you can use the following regular expression:
index.php\/[^ /]+\/[^ /]+\/[\.]+\/[\.]+\/. (e.g.
cat /var/log/apache2/access_log | grep -i -E 'index.php\/[^ /]+\/[^ /]+\/[\.]+\/[\.]+\/*')
Please contact email@example.com if you have proof that you've been attacked using this vulnerability.
- ownCloud Server < 6.0.4 (CVE-2014-4929)
- ownCloud Server < 5.0.17 (CVE-2014-4929)
The ownCloud team has taken the following efforts to prevent further such attacks in the future:
- All usages of potential dangerous functions including files in core have been reviewed.
- All insecure usages of those functions have been fixed and deprecated, the specific parts routing component will be rewritten for ownCloud 8 to further harden the security.
- The setup routine has been refactored. It will be no longer possible to call it directly beginning with ownCloud 7.
The ownCloud team thanks the following people for their research and responsible disclosure of the above advisory:
- Lukas Reschke - ownCloud Inc. (firstname.lastname@example.org) - Vulnerability discovery and disclosure.