Password reset form ignores email field
The password reset form ignored the email field and relied only on the reset token to identify the user, though the email was used in a pre-reset validation. An attacker could enter an arbitrary email and still receive a success message, which could mislead them into thinking arbitrary password resets were possible, but the token still provided sufficient assurance.
- Disclosed after 5 months
Summary by the program
A security researcher discovered that the password reset form disregards the email field on the reset form, relying only on the reset token to find the user. However, the email field was only used in a pre-reset validation. While the reset token provides sufficient assurance that the holder of the token is legitimate, the email field caused some confusion because an arbitrary email could be used and the reset process would still return a success message. This could have led some to think the reset process allowed arbitrary password resets (it did not).
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
Likely the application used the email field only for pre-reset validation and did not bind it to the reset token during the actual reset step.
Impact
The reset token still provided sufficient assurance, so arbitrary password resets were not possible, but the misleading success message could cause confusion.
What the attacker needed
A valid reset token
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 reset a password, you usually enter your email and a special code (token) sent to you. Here, the form ignored the email you typed and only checked the token. So you could type any email and still see a success message, but the reset only worked if you had the correct token.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.