إرسال #886929: mauriceboe TREK <= 3.0.22 Improper Authenticationالمعلومات

عنوانmauriceboe TREK <= 3.0.22 Improper Authentication
الوصفMFA bypass via JWT purpose confusion in TREK <= 3.0.22. The authentication system issues a purpose-scoped JWT (mfa_token) after password verification but before TOTP completion. The session verifier does not validate the "purpose" claim, allowing attackers to use this pre-2FA token as a full session token on any authenticated endpoint. An attacker possessing only the victim's password can obtain the mfa_token from POST /api/auth/login and use it as a bearer token to access all protected endpoints and MCP functionality without providing valid TOTP or backup codes. This completely circumvents the second authentication factor. CVSS 9.6 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N). CWE-287, CWE-345. Fixed in 3.1.0.
المصدر⚠️ https://github.com/mauriceboe/TREK/security/advisories/GHSA-mjh4-w6fq-54qm
المستخدم
 ByteJMP (UID 99294)
ارسال12/07/2026 06:36 AM (1 شهر منذ)
الاعتدال25/08/2026 08:01 AM (1 month later)
الحالةتمت الموافقة
إدخال VulDB394939 [liketrek TREK حتى 3.0.22 Pre-2FA mfa_token authService.ts loginUser توثيق ضعيف]
النقاط20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!