-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Security Issue: TOTP Validation Occurs After Password Verification #5614
Copy link
Copy link
Closed
Copy link
Description
Description
Currently, the authentication flow validates the password before performing TOTP verification. This means an attacker can brute-force the password first without any TOTP checks, and once the correct password is found, they can then brute-force the TOTP code separately. This significantly weakens security, as it allows step-by-step credential cracking instead of enforcing two-factor authentication as a combined security measure.
Vulnerable Code
TriliumNext Version
Source code
What operating system are you using?
Other Linux
What is your setup?
Local (no sync)
Operating System Version
Manjaro
Error logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels