Description (CNA)
OpenList a file list program that supports multiple storage. Prior to 4.2.4, the share creation and update checks in server/handles/sharing.go use strings.HasPrefix(requested_path, user.BasePath) without enforcing a directory separator boundary. An authenticated user with CanShare permission and a BasePath such as /base can submit a sibling path such as /base2/secret.txt, create a share for the out-of-scope file, and use the public share download or list handlers to read data outside the assigned directory. This issue is fixed in version 4.2.4.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| OpenListTeam / OpenList | affected < 4.2.4 |
CWE
CWE-639
References
- https://github.com/OpenListTeam/OpenList/security/advisories/GHSA-86cx-wwf4-phq4
- https://github.com/OpenListTeam/OpenList/commit/59bd3431408578f420895457554700cc9a52375a
- https://github.com/OpenListTeam/OpenList/releases/tag/v4.2.4
ADP enrichment
No English description supplied.