Description
ONEARMY community-platform before 2.165.2 contains an insecure direct object reference vulnerability that allows authenticated users to mark other users' notifications as read via POST /api/notifications/:id/read. Attackers can iterate sequential notification IDs to suppress unread indicators of users in the same tenant, causing them to miss replies, comments and new-content notices.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
ONEARMY community-platform
Default version status: unaffected
0 to < 2.165.2affected
pkg:github/ONEARMY/community-platformReferences
- https://github.com/ONEARMY/community-platform/issues/5022 ↗
- https://github.com/ONEARMY/community-platform/pull/5011 ↗
- https://github.com/ONEARMY/community-platform/commit/571732c26caf1a0a46e5335d275cef2e19dfab08 ↗
- https://github.com/ONEARMY/community-platform/releases/tag/v2.165.2 ↗
- https://github.com/ONEARMY/community-platform/blob/v2.163.2/src/routes/api.notifications.$id.read.ts#L6-L22 ↗
- https://hackmd.io/@hieuPenguinnn/onearmy-community-platform-notification-read-idor ↗
- https://www.vulncheck.com/advisories/onearmy-community-platform-before-2.165.2-idor-via-notification-read-endpoint ↗