Epignosis eFront LMS Password Reset authentication bypass vulnerability
The password reset token is generated using a predictable seed based on the system time and the user's login name, allowing an attacker to calculate the correct token and reset any user's password. The only unknown is the numeric user ID, which is sequential and can be brute-forced.
Originally disclosed on Cisco Talos
A predictable seed vulnerability eixsts in the password reset functionality of Epignosis EfrontPro 5.2.21. By predicting the seed it is possible to generate the correct password reset 1-time token.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The password reset token is generated using a weak, predictable seed (system time and login name) instead of a cryptographically secure random value.
Impact
An attacker could reset the password of any account, leading to account takeover.
What the attacker needed
No authentication required; Knowledge of target user's login name; Ability to trigger password reset for a known user
The fix
The vendor patched the vulnerability.
How it was found
- Trigger the password reset function for a known user to set the reset_password_timestamp to a known value.
- Calculate the hash using the known timestamp and the target user's login name.
- Brute-force the numeric user_id (sequential starting at 0) to find the target account.
- Visit the password reset URL with the calculated token to reset the password.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you forget your password, a website often sends you a special link with a secret code to reset it. This report found that the code was made using a predictable method (the current time and your username), so an attacker could guess it and reset anyone's password.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.