Security Advisory

Back to advisories

Edit permission check not enforced on WebDAV COPY action (NC-SA-2016-004)

19th July 2016

Risk level: Medium

CVSS v3 Base Score: 3.1 (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N)

CWE: Permission Issues (CWE-275)

HackerOne report: 145950


The WebDAV endpoint was not properly checking the permission on a WebDAV "COPY" action. This allowed an authenticated attacker with access to a read-only share to put new files in there. It was not possible to modify existing files.

Affected Software

Action Taken

The permission check is now also performed on "COPY" actions,


It is recommended that all instances are upgraded to Nextcloud 9.0.52.


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

  • Kumar Saurabh - Vulnerability discovery and disclosure.

This advisory is licensed CC BY-SA 4.0.

You have javascript disabled. We tried to make sure the basics of our website work but some functionality will be missing.

This website is using cookies. By visiting you agree with our privacy policy. That's Fine