Description
Waterhole through 0.7.3 contains an incorrect authorization vulnerability in NotificationController::go that allows authenticated members to mark other users' notifications as read. The groupedWith scope filters only on type, group_type and group_id without a notifiable constraint, so opening one notification updates read_at for every user's matching notifications on that post.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
waterholeforum Waterhole
Default version status: unaffected
0 to ≤ 0.7.3affected
pkg:composer/waterhole/coreReferences
- https://github.com/waterholeforum/core/issues/117 ↗
- https://github.com/waterholeforum/core/commit/c64d5a3f60ae1ba1a0b5c054b851c2d1357fbec0 ↗
- https://github.com/waterholeforum/core/blob/v0.7.3/src/Models/Notification.php#L70-L77 ↗
- https://www.vulncheck.com/advisories/waterhole-through-0.7.3-incorrect-authorization-via-notification-go-route ↗