Description
Ikaros 1.2.0 through 1.2.5 contains an authentication bypass vulnerability that allows attackers with a valid password to skip TOTP verification by reusing the login temp token. Attackers can present the temp token from the jwt/apply endpoint as a bearer JWT, refresh it, or use HTTP Basic login to gain full account access, including the master administrator.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ikaros-dev | ikaros | 1.2.0 – ≤ 1.2.5 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/ikaros-2fa-bypass-temp-token third-party-advisory
- https://github.com/ikaros-dev/ikaros/blob/v1.2.5/server/src/main/java/run/ikaros/server/security/authentication/jwt/JwtAuthenticationProvider.java#L57-L112 technical-description
- https://github.com/ikaros-dev/ikaros/blob/v1.2.5/server/src/main/java/run/ikaros/server/security/authentication/jwt/JwtAuthenticationFilter.java#L30-L46 technical-description
- https://github.com/ikaros-dev/ikaros/blob/v1.2.5/server/src/main/java/run/ikaros/server/security/SecurityEndpoint.java#L80-L118 technical-description
- v1.2.5 Release Notes release-notes
- VulnCheck Advisory: Ikaros 1.2.0 through 1.2.5 TOTP Authentication Bypass via Temp Token third-party-advisory