Description (CNA)
GoAdmin through 1.2.26 fails to properly anchor the logout pattern when checking permissions, allowing authenticated users to bypass permission checks by appending a query parameter. Attackers can append a query string containing the admin prefix followed by /logout to reach administrative endpoints and perform unauthorized actions including reading sensitive data and modifying application state.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| GoAdminGroup / go-admin | affected 0 through 1.2.26 |
CWE
CWE-863
References
- https://github.com/GoAdminGroup/go-admin/issues/690
- https://github.com/GoAdminGroup/go-admin
- https://github.com/GoAdminGroup/go-admin/blob/v1.2.26/plugins/admin/models/user.go#L129-L133
- https://github.com/GoAdminGroup/go-admin/blob/v1.2.26/modules/auth/middleware.go#L177
- https://www.vulncheck.com/advisories/goadmin-through-1.2.26-authorization-bypass-via-query-parameter
ADP enrichment
No English description supplied.
No references supplied.