Skip to content

Fix: incidental unprotected sharing of a file is easily possible #5239

@hacdias

Description

@hacdias

Checklist

Version

All

Description

This issue tracks a more thorough fix for GHSA-3v48-283x-f2w4.

Files managed by the File Browser can be shared with a link to external persons. While the application allows protecting those links with a password, the implementation is error-prone, making an incidental unprotected sharing of a file possible.

What did you expect to happen?

The user always needs to input the share password in order to be able to download the file(s).

What actually happened?

If the user shares the wrong link, no password is required to download the file. In addition, if the user copies the download link from the Share page, it includes a token which will give access to the file until the share expires (which may never happen, if it is a permanent share).

The token should actually be removed from the URL and the the download should only happen in conjunction with the password.

Reproduction Steps

Read more in GHSA-3v48-283x-f2w4

Files

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions