Nextcloud · Report #452854
Expired reshare links allow access to all files in share
Validstatus
criticalseverity
38upvotes
27 Jun 2019disclosed
Summary
After a reshared subfolder link has expired, the link allows access to the full folder.
I found the Problem in Nextcloud 14.0.3, but it still persists in 14.0.4 Steps:
- share folder "A" with an nextcloud group
- reshare a subfolder "B" of this folder with another user on this group (in this case the user both have group admin) as public link.
- set an expiry date
- let date expire
- open link Expected result: You see a message that the link has expired Actual result: You have access to the initial shared folder "A"
Impact
After getting a reshared link for a subfolder with expiry date (legitimately or through social engineering) the attacker just has to wait for expiry for full access to all Files in the share.
How it was found
The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.