Issues with Forgot password Error Handling
The forgot-password form gave no error response when a wrong email address was submitted, leaving users unsure whether the request had been processed. The reporter also considered whether this could enable user enumeration but argued it could not, because the same 403 would be shown for registered and unregistered addresses.
Originally disclosed on HackerOne
- Triaged in 43 hours
- Fixed in 14 days
- Paid in 14 days
- Disclosed after 44 days
Hello @team,
I found a similar issue to #249695.Where user when giving an error email id it is not showing any error response.This is not of high impact but this might throw the users in confusing state as there is no error message user will be waiting for the server response.
Steps to reproduce: 1.go to url : https://app.legalrobot-uat.com/sign-in 2. go to forgot password option and give your email id
3.now click on the forgot password link. 4.give wrong email id and some password 5.now you will see that there is no server response .
How to resolve this? Similar to login failure error message 403.we can also show the error message like this: "password change failure.please check the details entered[403]" when the user is given wrong email id . there is another issue here what if he is using this to user enumeration?that is not possible because of two reasons. 1)now legalrobot requests are turned to web socket messages it will be difficult to user enumeration 2)there wont be point of user enumeration because we will show 403 error for every registered and non-registered email id.Only for the forgot password requested email id it will show 200 ok response
Let me know if u need more information regarding this. Thanks!
Attachments

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 forgot-password endpoint returned no error response for an invalid email address, so the client had nothing to display.
Impact
The issue is low impact: users may be confused by the missing error message, but the reporter states user enumeration is not possible because the same 403 would be returned for registered and unregistered addresses.
What the attacker needed
Access to the sign-in page
The fix
The forgot-password flow should return and display an error message, such as a 403, for invalid email addresses, matching the login failure behaviour.
How it was found
- Open the sign-in page.
- Choose the forgot password option and enter an email address.
- Click the forgot password link.
- Enter a wrong email address and some password.
- Observe that there is no server response.
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.
A forgot-password form should tell you clearly when something goes wrong, for example if the email address is not recognised. Here the page simply did nothing, so a user could not tell whether the request had worked. The reporter also checked whether an attacker could use the different responses to find out which email addresses have accounts, and concluded they could not.
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.