CVE-2026-52827 Kimai: Two-factor authentication bypass on the Kimai API
설명
Kimai is an open-source time tracking application. Prior to 2.59.0, the KIMAI_SESSION cookie issued after password verification but before TOTP completion is accepted by every /api route because config/packages/security.yaml protects the API with IS_AUTHENTICATED and App\API\Authentication\ApiRequestMatcher routes an existing session through the main firewall. A Scheb TwoFactorToken satisfies that access rule, and App\Voter\ApiVoter grants API access to its User, allowing an attacker with a valid account password to use authenticated REST API operations without entering the second factor even though web routes remain blocked. This issue is fixed in version 2.59.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
kimai
kimai
영향 받는 버전
- 2.59.0 미만
해결 버전
- 2.59.0 이상
참고 자료 5건
- github.com https://github.com/kimai/kimai/commit/87c85270a98899e6545108cbb9f41103ec6ea312 (새 창)
- github.com https://github.com/kimai/kimai/pull/5957 (새 창)
- github.com https://github.com/kimai/kimai/releases/tag/2.59.0 (새 창)
- github.com https://github.com/kimai/kimai/security/advisories/GHSA-v8hx-4vx8-wc96 (새 창)
- kimai.org https://www.kimai.org/en/security/ghsa-v8hx-4vx8-wc96 (새 창)