FileBrowser Quantumにシンボリックリンクの脆弱性、範囲外のファイルを読まれる
Summary
FileBrowser Quantumには、シンボリックリンクをたどった先が許可された範囲の外でも読めてしまう脆弱性が見つかりました。認証済みで取得権限を持つユーザーは、割り当てられた範囲の外にあるサーバー上のファイルを読める可能性があります。修正版は1.5.2-stableと2.0.1-betaです。公開共有リンクの利用者も、共有ディレクトリにそのようなリンクがあれば、アカウントなしで同じことができるおそれがあります。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FileBrowser Quantumには、シンボリックリンクをたどった先が許可された範囲の外でも読めてしまう脆弱性が見つかりました。認証済みで取得権限を持つユーザーは、割り当てられた範囲の外にあるサーバー上のファイルを読める可能性があります。修正版は1.5.2-stableと2.0.1-betaです。公開共有リンクの利用者も、共有ディレクトリにそのようなリンクがあれば、アカウントなしで同じことができるおそれがあります。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gtsteffaniakfilebrowser | — | Not listed |
| gogithub.com/gtsteffaniak/filebrowser/backend |
< 0.0.0-20260814233832-4126edeb07a0→ 0.0.0-20260814233832-4126edeb07a0 |
0.0.0-20260814233832-4126edeb07a0 |
Original description The description as published by the source.
FileBrowser Quantum is a free, self-hosted, web-based file manager. Prior to 1.5.2-stable and 2.0.1-beta, file read handling in backend/pkg/indexing/indexingFiles.go resolves symbolic links through GetRealPath without confirming that the resolved target remains inside the source root and the user's authorized scope. Download, preview, media, OnlyOffice, and public-share read flows that enable FollowSymlinks can therefore serve an out-of-scope target through a reachable in-scope symlink. An authenticated user with download access can read server-accessible files outside the assigned scope, and a holder of a public share link can do the same without an account when the shared directory exposes such a symlink. This issue is fixed in 1.5.2-stable and 2.0.1-beta.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com