Description (CNA)
FileRise is a self-hosted web-based file manager with multi-file upload, editing, and batch operations. In FileRise 3.22.0, the /api/file/saveFile.php operation accepts dot and dot-dot segments in its attacker-controlled folder input before ACL inheritance evaluates the uncanonicalized string. With an authenticated non-administrator session, a valid CSRF token, and inherited edit permission on a legitimate ancestor, the local filesystem or WebDAV adapter later resolves those segments as path navigation, permitting attacker-controlled file creation outside the authorized folder and, where backend credentials permit, outside the configured WebDAV root. Local storage also created directories before final containment validation and used a prefix comparison that accepted similarly named sibling roots. This issue is fixed in version 3.23.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| error311 / FileRise | affected < 3.23.0 |
CWE
CWE-22
References
- https://github.com/error311/FileRise/security/advisories/GHSA-67p9-5q8f-586q
- https://github.com/error311/FileRise/commit/cc1118923b522baff28dca05bdd79c27f984c68a
- https://github.com/error311/FileRise/releases/tag/v3.23.0
ADP enrichment
No English description supplied.