Skip to content
Business logic Disclosed report Beginner

design issue exists on login page

The password reset flow allowed a user to set their password equal to their email address, but the login page's client-side JavaScript rejected any login attempt where the password matched the email. This inconsistency meant a user who set such a password could not log in at all.

1dashunderscore Follow

Originally disclosed on HackerOne

  • Disclosed after under an hour

legalrobot allows an user to set email as password only by resetting password either by logged in and changing it into profile

password changed succesfully

but the user couldn't log in to the app.legalrobot.com because

js checks with email and password and it states it couldn't be same

also not allowing the user to log in

Design issues

Screenshot_from_2017-08-28_22-25-59.png
Screenshot_from_2017-08-28_22-25-59.png From the original on HackerOne

The original report as published on HackerOne, by 1dashunderscore. 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

Impact

A user who sets their password equal to their email can be locked out of their own account, since the login page refuses the credentials.

What the attacker needed

A user account; ability to change or reset password

How it was found

  1. Reset the password or change it from the profile so that the new password equals the email address.
  2. The password change succeeds.
  3. Try to log in to the app with that email and password.
  4. The login page's JavaScript rejects the attempt because the email and password are the same.

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 website let someone choose a password that was the same as their email address. But the login page had a rule in the browser that blocked any password equal to the email, so the person could never sign in. The two parts of the site disagreed about what was allowed.

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 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.