Description
BuddyPress 14.4.0 contains an insecure direct object reference vulnerability in the messages REST API that allows authenticated attackers to access arbitrary private message threads by supplying a user_id parameter in the request. Attackers can pass another user's identifier to the get_item_permissions_check method, which validates the supplied user_id instead of the logged-in user and is reused by the update and delete handlers, to read, reply to, or delete any user's private messages.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| BuddyPress | BuddyPress | ≤ 14.4.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | buddypress/buddypress | < 14.5.0 | 14.5.0 | GHSA-j3j5-5m8v-7gvc |
References
- https://buddypress.org/ product
- https://wordpress.org/plugins/buddypress/ product
- VulnCheck Advisory: BuddyPress 14.4.0 Private Message IDOR via REST API user_id Parameter third-party-advisory