Lucene search

K
owncloudJohannes Kliemann ([email protected]) – Vulnerability discovery and disclosure.OWNCLOUD:25A56D9593AC72F7B34F5F2D98A40CE6
HistoryJun 08, 2015 - 11:42 a.m.

Improper validation of certificates when using self-signed certificates - ownCloud

2015-06-0811:42:12
Johannes Kliemann ([email protected]) – Vulnerability discovery and disclosure.
owncloud.org
33

EPSS

0.001

Percentile

39.9%

The ownCloud Desktop Client was vulnerable against MITM attacks until version 1.8.2 in combination with self-signed certificates. To be exploitable the following conditions have to be met:

  • The connection to the remote ownCloud server must be secured using a self-signed certificate which the user imported in the ownCloud client.
  • While the ownCloud client is connected to the remote ownCloud server an attacker starts a MITM attack and the user has to manually distrust the new certificate. If the connection is already MITM’d while the client is not yet running the ownCloud client will behave properly.
  • User clicks “Cancel” on the appearing SSL warning.

If all conditions are met the client will continue syncing and considers the malicious certificate as valid. This allows adversaries in a MITM position to sniff the user credentials which are transfered in the Basic Authentication header as well as to other sensitive information. (including the PHP session and transferred files)

The issue was caused by calling the incorrect QNetworkReply::ignoreSslErrors overload: Omitting the errors to be ignored as a parameter, Qt’s network stack will ignore all errors. The code is now calling the overloaded version which ignores only the error acknowledged by the user.

ownCloud highly advises affected users to update affected clients as soon as possible to ensure data integrity and confidentiality. Users with such a setup and that have experienced such a behaviour are encouraged to change their ownCloud passwords.

Affected Software

  • ownCloud Desktop < 1.8.2 (CVE-2015-4456)

Action Taken

To protect our users ownCloud has issued the 1.8.2 client which addresses this issue. Users of older ownCloud clients are encouraged to import their certificate into the local system trust store.

Acknowledgements

The ownCloud team thanks the following people for their research and responsible disclosure of the above advisory:

EPSS

0.001

Percentile

39.9%