CyberRota Analysis
AI-GeneratedLogto's TOTP verification mechanism prior to version 1.41.0 is vulnerable to replay attacks, allowing an attacker with access to a valid TOTP code to bypass multi-factor authentication within the RFC 6238 acceptance window. This flaw arises from the use of a stateless check that does not track the time-step counter, enabling potential unauthorized access to accounts. Organizations utilizing Logto for authentication should prioritize upgrading to version 1.41.0 to mitigate this security risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.41.0, Logto's existing TOTP verification accepted a successfully used TOTP code again while the code remained inside the RFC 6238 acceptance window because the verifier used otplib's stateless check with window = 1 and did not persist or compare the accepted TOTP time-step counter. An attacker who has the victim's first factor and captures a live TOTP value can replay that value to satisfy MFA during the same acceptance window. This issue is fixed in version 1.41.0.