Description
FilePress through 3.0.1 contains a missing authorization vulnerability in dzz/pichome/library that allows authenticated users to manage other libraries' folders because checkuserperm_by_uid only checks membership of any library. Attackers who know another library's appid or folder id can invoke folder.php operations like deletefolder and rename, or rightdata.php getfolderdata, to delete, modify, or read foreign folders.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
zyx0814 FilePress
Default version status: unaffected
0 to ≤ 3.0.1affected
References
- https://github.com/zyx0814/FilePress/issues/76 ↗
- https://github.com/zyx0814/FilePress/blob/3.0.1/dzz/pichome/library.php#L9 ↗
- https://github.com/zyx0814/FilePress/blob/3.0.1/dzz/pichome/library/folder.php#L6-L50 ↗
- https://github.com/zyx0814/FilePress/blob/3.0.1/dzz/pichome/library/rightdata.php#L6-L30 ↗
- https://github.com/zyx0814/FilePress/blob/3.0.1/core/class/table/table_pichome_vappmember.php#L56-L64 ↗
- https://hackmd.io/@hieuPenguinnn/filepress-pichome-library-missing-per-library-authorization-idor ↗
- https://github.com/zyx0814/FilePress ↗
- https://www.vulncheck.com/advisories/filepress-through-3.0.1-missing-authorization-in-pichome-library-folder-operations ↗