漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
File Browser 2.5.0 Directory Deletion via Upload Failure Cleanup
Vulnerability Description
File Browser versions >= 2.5.0 and <= 2.63.23 contain an incorrect authorization flaw in the direct-upload endpoint (resourcePostHandler in http/resource.go). Unlike the TUS upload handler, the direct-upload handler does not reject a target that is an existing directory; a POST with ?override=true aimed at a directory fails inside writeFile (a directory cannot be opened for writing) and the failure-cleanup path then calls Fs.RemoveAll on the request path, recursively deleting the entire tree. This cleanup is gated by neither the Perm.Delete permission nor the checkDescendants rule walk applied by the delete and patch handlers, so an authenticated non-administrator holding only the default Create and Modify permissions can delete directories they are not authorized to delete, including rule-denied files within them. Deletion remains confined to the user's scope because ScopedFs.RemoveAll still enforces the scope guard. The faulty cleanup was introduced in v2.5.0; no patched version is available.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Vulnerability Type
授权机制不正确
Vulnerability Title
FileBrowser 授权问题漏洞
Vulnerability Description
FileBrowser是filebrowser团队开源的一款面向企业的文件浏览与管理软件。 FileBrowser 2.5.0版本至2.63.23版本存在授权问题漏洞,该漏洞源于直接上传端点(http/resource.go中的resourcePostHandler)存在授权缺陷,未拒绝以已存在目录为目标,当向目录发送带有?override=true的POST请求时writeFile失败,其失败清理路径调用Fs.RemoveAll递归删除目录树且不受Perm.Delete权限或checkDescendan
CVSS Information
N/A
Vulnerability Type
N/A