Description
File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.63.17, File Browser can leave a public directory share behind when the shared directory is deleted through a path with a trailing slash because the share cleanup path calls DeleteWithPathPrefix(file.Path, userID) and the Bolt backend performs the database prefix query with the unnormalized path before trimming the slash for boundary checks, so deleting /a/ does not delete the stored /a share and the stale public share exposes future content if the same path is recreated. This issue is fixed in version 2.63.17.
Problem types
CWE-863: Incorrect Authorization
Product status
References
github.com/...rowser/security/advisories/GHSA-pp88-jhwj-5qh5
github.com/...ommit/f30fca636c1af9ef401e9a82ff60391cb3db97e1
github.com/filebrowser/filebrowser/releases/tag/v2.63.17