Soumettre #1059412: WPExperts New User Approve 3.3 Missing Authorization or Privilege Escalationinformation

TitreWPExperts New User Approve 3.3 Missing Authorization or Privilege Escalation
DescriptionAn authenticated privilege escalation vulnerability was identified in the New User Approve WordPress plugin, version 3.3, developed by WPExperts. The vulnerability affects the REST API endpoint /nua-request/v1/update-user-role. The endpoint permits an authenticated user possessing the edit_users capability to change another user's role without verifying whether the requesting user possesses the promote_users capability required for role promotion. The affected handler calls WP_User::set_role() without adequately enforcing the role-promotion authorization boundary. Technical reproduction: 1. A WordPress account was configured with a custom role containing edit_users but not promote_users or manage_options. 2. A separate test account was configured with the Subscriber role. 3. Using the restricted account's authenticated session and a valid WordPress REST nonce, a POST request was sent to /nua-request/v1/update-user-role with the following JSON body: {"user_id":3,"new_role":"administrator"} 4. The plugin returned HTTP 200 with the response: {"status":"success","message":"User role updated successfully."} 5. The target account was subsequently verified to have the Administrator role. 6. As a negative control, the same restricted account attempted the equivalent operation through the WordPress core REST API. WordPress rejected the operation with HTTP 403 and rest_cannot_edit_roles. 7. An additional negative control confirmed that an invalid REST nonce was rejected with HTTP 403 and rest_cookie_invalid_nonce. Affected source file: includes/end-points/class-users-api.php Security impact: An authenticated account with delegated user-editing privileges can assign Administrator privileges to another account despite lacking role-promotion authorization. This could permit unauthorized privilege escalation in installations that separate user-editing and role-promotion capabilities. Attacker prerequisites: Exploitation requires an authenticated account with edit_users. The proof of concept uses an a custom role with edit_users enabled and promote_users disabled. Classification: CWE-862 - Missing Authorization. Disclosure status: The vendor, WPExperts, was notified privately by email at [email protected] on October 27, 2026. The vulnerability has not been publicly disclosed by the researcher. No CVE assignment is known. Reproduction screenshots and additional technical evidence are available upon request.
Utilisateur
 san3ncrypt3d (UID 102550)
Soumission27/10/2026 14:28 (il y a 29 jours)
Modérer25/11/2026 12:54 (29 days later)
StatutAccepté
Entrée VulDB443801 [WPExperts New User Approve Plugin jusqu’à 3.3 sur WordPress REST API class-users-api.php update_user_role élévation de privilèges]
Points17

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!