Improper access control in Nextcloud Server - CVE-2016-9462
Published: March 28, 2017 / Updated: July 18, 2020
Nextcloud Server
Detailed vulnerability description
The vulnerability allows a remote authenticated user to manipulate data.
Nextcloud Server before 9.0.52 & ownCloud Server before 9.0.4 are not properly verifying restore privileges when restoring a file. The restore capability of Nextcloud/ownCloud was not verifying whether a user has only read-only access to a share. Thus a user with read-only access was able to restore old versions.
How to mitigate CVE-2016-9462
Sources
- http://www.securityfocus.com/bid/97285
- https://github.com/nextcloud/server/commit/1208953ba1d4d55a18a639846bbcdd66a2d5bc5e
- https://github.com/owncloud/core/commit/23383080731d092e079986464a8c4c9ffcb79f4c
- https://github.com/owncloud/core/commit/3b056fa68ce502ceb0db9b446dab3b9e7b10dd13
- https://github.com/owncloud/core/commit/c93eca49c32428ece03dd67042772d5fa62c8d6e
- https://github.com/owncloud/core/commit/d31720b6f1e8c8dfeb5e8805ab35ad7c8000b2f1
- https://hackerone.com/reports/146067
- https://nextcloud.com/security/advisory/?id=nc-sa-2016-005
- https://owncloud.org/security/advisory/?id=oc-sa-2016-015