Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| zfile-dev / zfile | affected 0 through 5.0.5 |
CWE
CWE-639
References
- https://github.com/zfile-dev/zfile/issues/826
- https://github.com/zfile-dev/zfile
- https://github.com/zfile-dev/zfile/blob/5.0.5/src/main/java/im/zhaojun/zfile/module/share/service/ShareLinkFileService.java
- https://www.vulncheck.com/advisories/zfile-through-5.0.5-share-entry-filter-bypass-via-download-endpoint
ADP enrichment
No English description supplied.
No references supplied.