Description
OpenBMB StaffDeck through 0.5.6 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator session tokens using the hard-coded default app_secret. Attackers can sign an HMAC-SHA256 token for the seeded 'admin' user in 'tenant_demo' to gain full tenant administration, including stored model and channel credentials.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenBMB | StaffDeck | ≤ 0.5.6 | — |
References
- https://hackmd.io/@hieuPenguinnn/staffdeck-default-token-signing-secret-auth-bypass third-party-advisory
- https://github.com/OpenBMB/StaffDeck/blob/v0.5.6/backend/app/config.py#L10 technical-description
- https://github.com/OpenBMB/StaffDeck/blob/v0.5.6/backend/app/security/auth.py#L96-L98 technical-description
- VulnCheck Advisory: OpenBMB StaffDeck through 0.5.6 Authentication Bypass via Hard-Coded Session Secret third-party-advisory