Description (CNA)
cool-admin-midway through 8.0.0 contains an authorization bypass vulnerability that allows department-limited admins to manage users outside their departments by supplying arbitrary user ids. Attackers holding sys:user:* permissions can call /admin/sys/user/info, update, or delete to read records, reset passwords and roles, or delete accounts.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| cool-team-official / cool-admin-midway | affected 0 through 8.0.0 |
CWE
CWE-639
References
- https://hackmd.io/@hieuPenguinnn/cool-admin-midway-base-crud-role-ownership-idor
- https://github.com/cool-team-official/cool-admin-midway/blob/e545ef6f3b0c08581e34bd3207ca57d851ccc3ae/src/modules/base/service/sys/user.ts#L41-L70
- https://github.com/cool-team-official/cool-admin-midway/blob/e545ef6f3b0c08581e34bd3207ca57d851ccc3ae/src/modules/base/service/sys/user.ts#L205-L229
- https://github.com/cool-team-official/cool-admin-midway
- https://www.vulncheck.com/advisories/cool-admin-midway-through-8.0.0-authorization-bypass-via-admin-sys-user-endpoints
ADP enrichment
No English description supplied.