HexBrain

Courier · Report #948345

Broken Authentication Session Token Bug

Validstatus
mediumseverity
35upvotes
16 Feb 2022disclosed

How it was found

Hi Team Hope your are good I have found a broken authentication issue in https://www.trycourier.app

Steps to reproduce

  1. Create a courier account or use existing one.
  2. Confirm Your email address.
  3. Now log out from your account and request for password reset code for your account .
  4. Don't use the code that has been sent to your email address.
  5. In new tab or new browser log in back to your account.
  6. Go to account setting and change your password .
  7. Now go to email and check the password reset code that we requested in step 3.
  8. Change Your password using that reset password code .
  9. You can see that your password has been changed.

The reset code is not expired after changing the password

Impact

If the site has a token issue, The result is the reset password token in the Step 3 is still usable and did not expire yet. If the victims opens his mail in cybercafe or in attackers device and forgot to log out then attacker can access that system and can reset the password of his account.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original