CVE-2021-21389: BuddyPress privilege escalation via REST API
Impact It's possible for a non-privileged, regular user to obtain administrator rights by exploiting an issue in the BuddyPress REST API members endpoint.
Patches The vulnerability has been fixed in BuddyPress 7.2.1. Existing installations of the plugin should be updated to this version to mitigate the issue.
References https://buddypress.org/2021/03/buddypress-7-2-1-security-release/
For more information If you have any questions or comments about this advisory: Open an issue in HackerOne
Other sources
BuddyPress is an open source WordPress plugin to build a community site. In releases of BuddyPress from 5.0.0 before 7.2.1 it's possible for a non-privileged, regular user to obtain administrator rights by exploiting an issue in the REST API members endpoint. The vulnerability has been fixed in BuddyPress 7.2.1. Existing installations of the plugin should be updated to this version to mitigate the issue.
— MITRE
BuddyPress privilege escalation via REST API
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/buddypress/buddypressto a version that resolves this vulnerability.Fixed in 7.2.1 - Upgrade
Upgrade
BuddyPressto a version that resolves this vulnerability.Fixed in 7.2.1
Event History
Frequently Asked Questions
What is CVE-2021-21389 vulnerability in BuddyPress?
CVE-2021-21389 in BuddyPress allows non-privileged users to gain administrator rights through the REST API members endpoint.
How severe is CVE-2021-21389 vulnerability in BuddyPress?
CVE-2021-21389 in BuddyPress has a severity rating of 8.8 (Critical).
Is there a fix available for CVE-2021-21389 vulnerability in BuddyPress?
Yes, the vulnerability has been fixed in BuddyPress version 7.2.1.