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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ONEARMY | community-platform | < 2.165.2 | 2.165.2 |
References
- https://github.com/ONEARMY/community-platform/issues/5022 issue-tracking
- https://github.com/ONEARMY/community-platform/pull/5011 patch issue-tracking
- https://github.com/ONEARMY/community-platform/commit/571732c26caf1a0a46e5335d275cef2e19dfab08 patch
- community-platform v2.165.2 Release Notes release-notes
- https://github.com/ONEARMY/community-platform/blob/v2.163.2/src/routes/api.notifications.$id.read.ts#L6-L22 technical-description
- https://hackmd.io/@hieuPenguinnn/onearmy-community-platform-notification-read-idor third-party-advisory
- VulnCheck Advisory: ONEARMY community-platform before 2.165.2 IDOR via notification read endpoint third-party-advisory