Description
Photoview through 2.4.0 contains an authorization bypass vulnerability in the shareAlbum GraphQL mutation that allows authenticated users to create share links for albums owned by other users. Attackers can supply arbitrary album IDs to generate working share tokens for victim albums, exposing photos and sub-albums to anyone with the link while retaining indefinite control over token settings.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
photoview photoview
Default version status: unaffected
0 to ≤ 2.4.0affected
pkg:github/photoview/photoviewReferences
- https://github.com/photoview/photoview/issues/1494 ↗
- https://github.com/photoview/photoview/blob/81affea602401c2f0207d955919ddcc0670a9222/api/graphql/models/actions/share_token_actions.go#L64-L82 ↗
- https://github.com/photoview/photoview/commit/20541762fe6d9e0ce363c3d4c55556e4ccdc57a2 ↗
- https://github.com/photoview/photoview ↗
- https://www.vulncheck.com/advisories/photoview-through-2.4.0-authorization-bypass-via-sharealbum ↗