File Browser has Insecure File Permissions
filebrowser
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/filebrowser/filebrowser/v2 Go |
|
|
| github.com/filebrowser/filebrowser Go |
| No fix yet |
filebrowser
| Product | Affected | Fixed in |
|---|---|---|
| github.com/filebrowser/filebrowser/v2 Go |
|
|
| github.com/filebrowser/filebrowser Go |
| No fix yet |
File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. The file access permissions for files uploaded to or created from File Browser are never explicitly set by the application. The same is true for the database used by File Browser. On standard servers using File Browser prior to version 2.33.7 where the umask configuration has not been hardened before, this makes all the stated files readable by any operating system account. Version 2.33.7 fixes the issue.
From the CVE record · GitHub_M
File Browser does not explicitly set permissions on uploaded or created files or its database. On standard servers without a hardened umask, any local operating system account can read those files without File Browser authentication or user interaction.
Check installations using Go github.com/filebrowser/filebrowser/v2 before 2.33.7 or Go github.com/filebrowser/filebrowser through 1.11.0.