
Proof-of-concept for CVE-2025-65094: privilege escalation via IDOR in WBCE CMS. Demonstrates group ID manipulation to gain admin access, with detailed analysis and remediation guidance.
| Field | Details |
|---|---|
| CVE ID | CVE-2025-65094 |
| Severity | HIGH |
| Advisory | View Advisory |
| Discovered by | Lukasz Rybak |
A low-privileged user in WBCE CMS can escalate their privileges to the Administrators group by manipulating the groups[] parameter in the /admin/users/save.php request.
The UI restricts users to assigning only their existing group, but server-side validation is missing, allowing attackers to overwrite their group membership and obtain full administrative access.
This results in a complete compromise of the CMS.
The project maintainers have remediated the issue in the following commit:
9604617Relevant commit message:
allow administrators only to assign users to any group; usual users may assign themselves and other users only to groups where they already belong to.
This directly addresses the improper access control in group assignment.
WBCE CMS uses group permissions to restrict access to administrative features.
A restricted group (Users) was created with the following permissions:
This setup ensures that low-privileged users:
Their only elevated permission is:
Users → Modify, intended solely for editing their own account.
When modifying their own profile via:
Access → Users → Modify User
the backend fails to validate whether the submitted groups[] value corresponds to allowed UI options.
An attacker can intercept and modify the request:
groups[]=2 → attacker changes to → groups[]=1
This immediately assigns the user to the Administrators group.
(as confirmed by commit 9604617)
The following files participate in group assignment but previously lacked proper authorization logic:
wbce/admin/users/index.phpwbce/admin/users/users.phpwbce/admin/users/save.phpThe fix introduces server-side validation that:
This confirms an Improper Access Control / IDOR vulnerability in the group assignment process.
Configure a group named Users with:
Navigate to:
Access → Users → Modify User
Intercept the outgoing request using a proxy such as Burp Suite.
Original request parameter:
groups%5B%5D=2
Modified request parameter:
groups%5B%5D=1
Changing the parameter to 1 assigns the user to the Administrators group.
After re-authentication, the user gains full access to administrative tools and features.
This is a privilege escalation vulnerability that allows any low-privileged authenticated user to:
This CVE was responsibly disclosed following coordinated vulnerability disclosure practices. The information provided here is for educational and defensive purposes only.
| Permission Category | Setting |
|---|
| Pages | View |
| Media | View |
| Add-ons | View |
| Settings | View |
| Access → Users | View + Modify |
| Access → Groups | View |
| Admin-Tools | (none) |