Description
File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Versions 2.61.0 and below contain a permission enforcement bypass which allows users who are denied download privileges (perm.download = false) but granted share privileges (perm.share = true) to exfiltrate file content by creating public share links. While the direct raw download endpoint (/api/raw/) correctly enforces the download permission, the share creation endpoint only checks Perm.Share, and the public download handler (/api/public/dl/<hash>) serves file content without verifying that the original file owner has download permission. This means any authenticated user with share access can circumvent download restrictions by sharing a file and then retrieving it via the unauthenticated public download URL. The vulnerability undermines data-loss prevention and role-separation policies, as restricted users can publicly distribute files they are explicitly blocked from downloading directly. This issue has been fixed in version 2.62.0.
Problem types
CWE-284: Improper Access Control
CWE-639: Authorization Bypass Through User-Controlled Key
CWE-863: Incorrect Authorization
Product status
References
github.com/...rowser/security/advisories/GHSA-68j5-4m99-w9w9
github.com/...ommit/09a26166b4f79446e7174c017380f6db45444e32
github.com/filebrowser/filebrowser/releases/tag/v2.62.0