Description
File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. From 2.63.6 to 2.63.16, File Browser's archive builder uses strings.ReplaceAll(nameInArchive, "\", "/"), which turns a POSIX filename such as ..\..\evil.sh into the archive entry ../../evil.sh, allowing a user with upload permission to plant a backslash-named file that escapes the extraction directory when another user downloads and extracts the generated zip or tar archive. This issue is fixed in version 2.63.17.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-23: Relative Path Traversal
Product status
References
github.com/...rowser/security/advisories/GHSA-83xp-526h-j3ww
github.com/...rowser/security/advisories/GHSA-83xp-526h-j3ww
github.com/...ommit/8503ba61ff51d48a7313896483d130eb6a5abfe0
github.com/filebrowser/filebrowser/releases/tag/v2.63.17