Description
ZFile through 5.0.5 fails to validate requested file paths against a share link's allowed entries on the download endpoint. Attackers holding a share link can supply arbitrary file paths as query parameters to download any file under the shared base directory, bypassing the intended access restrictions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zfile-dev | zfile | ≤ 5.0.5 | — |
References
- GitHub Issue #826 issue-tracking
- https://github.com/zfile-dev/zfile product
- ShareLinkFileService.java at 5.0.5 technical-description
- VulnCheck Advisory: ZFile through 5.0.5 Share Entry Filter Bypass via Download Endpoint third-party-advisory