Description
eladmin through 2.7 contains an authorization bypass vulnerability that allows department-scoped user managers to modify or delete accounts outside their data scope because write handlers skip department checks. Attackers with user:edit or user:del permissions can send PUT or DELETE requests to /api/users with target user ids to disable, reassign, alter, or delete accounts in other departments.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| elunez | eladmin | ≤ 2.7 | — |
References
- https://hackmd.io/@hieuPenguinnn/eladmin-user-update-delete-missing-dept-data-scope third-party-advisory
- https://github.com/elunez/eladmin/blob/v2.7/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java#L118-L152 technical-description
- https://github.com/elunez/eladmin product
- VulnCheck Advisory: eladmin through 2.7 Broken Access Control via /api/users Update and Delete third-party-advisory