Description
Blossom through 1.17.1 contains an authorization bypass vulnerability that allows authenticated users to access other users' folders because FolderService queries filter only on folder id. Attackers can supply another user's folder id to /folder/info, /folder/upd, /folder/open or /folder/del to read storage paths, rename, toggle visibility, or delete folders.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| blossom-editor | Blossom | ≤ 1.17.1 | — |
References
- https://github.com/blossom-editor/blossom/issues/213 issue-tracking
- https://github.com/blossom-editor/blossom/blob/v1.17.1/blossom-backend/backend/src/main/java/com/blossom/backend/server/folder/FolderService.java#L123-L202 technical-description
- https://github.com/blossom-editor/blossom/blob/v1.17.1/blossom-backend/backend/src/main/resources/mapper/FolderMapper.xml#L64-L92 technical-description
- https://hackmd.io/@hieuPenguinnn/blossom-folder-idor-cross-user-modify-delete third-party-advisory
- https://github.com/blossom-editor/blossom product
- VulnCheck Advisory: Blossom through 1.17.1 Authorization Bypass via Folder Endpoints third-party-advisory