Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
File Browser has an access rule bypass via HasPrefix without trailing separator in path matching
Vulnerability Description
File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.63.1, the Matches() function in rules/rules.go uses strings.HasPrefix() without a trailing directory separator when matching paths against access rules. A rule for /uploads also matches /uploads_backup/, granting or denying access to unintended directories. This vulnerability is fixed in 2.63.1.
CVSS Information
N/A
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
File Browser 路径遍历漏洞
Vulnerability Description
File Browser是File Browser开源的一个文件管理界面,在指定的目录,它可以用来上传,删除,预览和编辑文件。 File Browser 2.63.1之前版本存在路径遍历漏洞,该漏洞源于rules/rules.go中的Matches函数在匹配路径与访问规则时,使用strings.HasPrefix而未添加尾部目录分隔符,可能导致规则意外匹配其他目录。
CVSS Information
N/A
Vulnerability Type
N/A