Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
GoAdminGroup go-admin
Default version status: unaffected
0 to ≤ 1.2.26affected
pkg:golang/github.com/GoAdminGroup/go-adminReferences
- 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 ↗