Skip to content
Business logic Disclosed report Beginner

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.

goodhackonly Follow

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

Screenshot_(2895).png
Screenshot_(2895).png From the original on HackerOne

The original report as published on HackerOne, by goodhackonly. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open the sign-in page.
  2. Choose the forgot password option and enter an email address.
  3. Click the forgot password link.
  4. Enter a wrong email address and some password.
  5. 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.

More by goodhackonly

View all

6 more disclosed reports, best first.

More from Legal Robot

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.