Description
Kubero 3.0.0 through 3.1.1 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to forge administrative JWTs by using a hardcoded fallback signing secret when JWT_SECRET is unset. Attackers can sign tokens with arbitrary role, userGroups and permissions claims, which JwtStrategy.validate() trusts without a database lookup, to take control of pipelines, applications, users and API tokens.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kubero-dev | kubero | 3.0.0 – ≤ 3.1.1 | — |
References
- GitHub Issue #786 issue-tracking
- https://github.com/kubero-dev/kubero product
- https://github.com/kubero-dev/kubero/blob/bcb52376b19347b8c36bc445ddf3e4bff4a5c168/server/src/auth/strategies/jwt.strategy.ts#L13-L32 technical-description
- VulnCheck Advisory: Kubero 3.0.0 through 3.1.1 Authentication Bypass via Hardcoded JWT Secret third-party-advisory