ELADMIN (eladmin-mp) up to 2.7 contains an improper access control vulnerability in the role management module
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unspecified product |
| No fix yet |
Original description
ELADMIN (eladmin-mp) up to 2.7 contains an improper access control vulnerability in the role management module. The endpoint PUT /api/roles/menu (RoleController.updateRoleMenu) authorizes the request only by comparing the target role's level with the caller's minimum level. The application neither validates the granted menu set nor prevents a caller from modifying its own role. A logged-in non-admin user whose role holds the delegated `roles:edit` permission can submit its own role id together with an arbitrary list of menu ids.
From the CVE record · mitre