Description
The User Registration & Membership WordPress plugin before 5.2.2 does not perform an authorization check on a membership-upgrade action and derives the user to modify from a caller-supplied identifier instead of the current user, allowing any authenticated user such as a subscriber to change another user's WordPress role and membership tier.
Problem types
CWE-639 Authorization Bypass Through User-Controlled Key
Product status
Any version before 5.2.2
Credits
Revanth Hari Narayana Matte
WPScan
References
wpscan.com/...rability/a34a916a-983e-48a5-8f10-99214ee3b613/