Description
Blossom through 1.17.1 contains an authorization bypass vulnerability that allows authenticated non-readonly users to modify other users' pictures by supplying arbitrary picture ids. Attackers can call the picture delete, /picture/del/batch, or /picture/star endpoints to permanently delete victims' images and stored files or change their star status.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
blossom-editor Blossom
Default version status: unaffected
0 to ≤ 1.17.1affected
pkg:github/blossom-editor/blossomReferences
- https://github.com/blossom-editor/blossom/issues/214 ↗
- https://github.com/blossom-editor/blossom/blob/v1.17.1/blossom-backend/backend/src/main/java/com/blossom/backend/server/picture/PictureService.java#L222-L232 ↗
- https://github.com/blossom-editor/blossom/blob/v1.17.1/blossom-backend/backend/src/main/java/com/blossom/backend/server/picture/PictureController.java#L56-L109 ↗
- https://hackmd.io/@hieuPenguinnn/blossom-picture-idor-cross-user-delete ↗
- https://github.com/blossom-editor/blossom ↗
- https://www.vulncheck.com/advisories/blossom-through-1.17.1-authorization-bypass-via-picture-delete-and-star-endpoints ↗