Description
Simple Admin Core through 1.8.7 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge super administrator tokens by using the hard-coded Auth.AccessSecret in api/etc/core.yaml. Attackers can sign a JWT with the public secret and roleId claim 001 to gain full administrative control over users, roles, menus, API authorities, configuration and tokens.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| suyuan32 | simple-admin-core | ≤ 1.8.7 | — |
References
- https://hackmd.io/@hieuPenguinnn/simple-admin-core-hardcoded-jwt-accesssecret-admin-auth-bypass third-party-advisory
- https://github.com/suyuan32/simple-admin-core/blob/v1.8.7/api/etc/core.yaml#L6-L8 technical-description
- https://github.com/suyuan32/simple-admin-core/pull/382 issue-tracking patch
- VulnCheck Advisory: Simple Admin Core through 1.8.7 Hard-Coded JWT Secret Authentication Bypass third-party-advisory