ADVISORIES

GitHub Advisory Database

GHSA-j3j5-5m8v-7gvc

BuddyPress: Authenticated attackers can access arbitrary private message threads via user_id request parameter

Details

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 packages

EcosystemPackageAffected versions
Packagistbuddypress/buddypress
All versions before 14.5.0 (fixed in 14.5.0)

References