{"id":"CVE-2021-21389","published":"2021-03-26T20:15:14Z","modified":"2024-08-03T18:09:15Z","title":"BuddyPress privilege escalation via REST API","vendor":"buddypress","product":"BuddyPress","tier":"core","eol":null,"affectedVersions":[{"vendor":"buddypress","product":"BuddyPress","versions":[">= 5.0.0, < 7.2.1"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"BuddyPress, an open source WordPress plugin for building community sites, contains an incorrect authorization flaw in its REST API members endpoint that affects releases from 5.0.0 before 7.2.1. An attacker with only a regular, non-privileged user account on the site can exploit it over the network without user interaction to gain administrator rights.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T22:22:13Z"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.14811,"percentile":0.97331,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-11-29","exploitedFirstSeen":"2023-11-29","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-21389","date":"2023-11-29"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3","tags":["x_refsource_CONFIRM"]},{"url":"https://buddypress.org/2021/03/buddypress-7-2-1-security-release/","tags":["x_refsource_MISC"]},{"url":"https://codex.buddypress.org/releases/version-7-2-1/","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"buddypress/buddypress","vulnerableRanges":[">=5.0.0, <7.2.1"],"patched":["7.2.1"],"from":["GHSA-m6j4-8r7p-wpp3"],"provenance":"source"}],"advisories":[{"id":"GHSA-m6j4-8r7p-wpp3","url":"https://github.com/advisories/GHSA-m6j4-8r7p-wpp3","severity":"HIGH","ecosystem":"Packagist","package":"buddypress/buddypress","vulnerableRanges":[">=5.0.0, <7.2.1"],"patched":["7.2.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-2224","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2224","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2021-05-31","earliestUrl":"https://github.com/HoangKien1020/CVE-2021-21389","repos":[{"name":"HoangKien1020/CVE-2021-21389","url":"https://github.com/HoangKien1020/CVE-2021-21389","stars":19,"created":"2021-05-31"},{"name":"mynameSumin/CVE-2021-21389","url":"https://github.com/mynameSumin/CVE-2021-21389","stars":0,"created":"2024-12-09"}]},"nuclei":[{"id":"CVE-2021-21389","name":"BuddyPress REST API  <7.2.1 - Privilege Escalation/Remote Code Execution","severity":"high","path":"http/cves/2021/CVE-2021-21389.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21389.yaml"}],"first":{"date":"2021-05-31","source":"PoC-in-GitHub","url":"https://github.com/HoangKien1020/CVE-2021-21389"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-03-26","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-21389","provenance":"source"},{"date":"2021-05-31","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/HoangKien1020/CVE-2021-21389","provenance":"source"},{"date":"2023-11-29","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-21389","provenance":"source"}],"speed":{"daysToPublicExploit":66,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":65.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1092 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.47,"detail":"percentile 0.9733"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.67,"detail":"base score 8.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}