CVE-2023–51356: ARMember <= 4.0.10 — Authenticated Privilege Escalation
The ARMember WordPress plugin's profile editing feature did not properly restrict the 'role' field, allowing an authenticated user to change their own role to a higher privilege level. An attacker with a low-privilege account could escalate to administrator.
Backend code of edit profile feature is vulnerable for Privilege Escalation attack. Attacker can manipulate request for getting higher “role” to their own account.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The plugin failed to validate or restrict the 'role' parameter when updating user meta, allowing any authenticated user to set their own role.
Impact
An authenticated attacker could escalate their privileges to a higher role, potentially taking full control of the WordPress site.
What the attacker needed
A low-privilege account; access to the edit profile page
The fix
The vulnerability was fixed in version 4.0.11 (or later) by properly restricting the role parameter.
How it was found
- Log in as a member.
- Go to the edit profile page.
- Edit data and submit the form.
- Manipulate the request to include a higher role.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
In WordPress, users have roles like 'subscriber' or 'administrator' that decide what they can do. The plugin let users edit their profile but also accepted a hidden 'role' field, so a normal user could send a request claiming to be an administrator and the site would update their account. This is called privilege escalation: gaining more permissions than you should have.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.