HexBrain

Basecamp · Report #1485788

Improper Authentication via previous backup code login

Validstatus
mediumseverity
24upvotes
24 Mar 2022disclosed

How it was found

HI Basecamp,

I would like to report Improper Authentication in basecamp. Attacker is able to login at victim account once victim update his password.

attacker knows with victims email █████████ password uhn)(*123HH victim updates his password uhn)(*123HHjcc

Step To Reproduce

==Attacker==

  • Step1 attacker know victim password and logs in

  • Step2 attacker enables 2fa in victims account.

  • Step3 attacker logs out and login back in victim account, 2fa will be prompter, attacker gaves 2fa backup code and send request to repeater and captures the response. ██████

  • Step4 attacker now removes 2fa from victim account and logout.

==Victim==

  • Step5 victim logs in and changes password. from uhn)(*123HHto uhn)(*123HHjcc

==Attacker==

  • Step6 attacker logins in victim account with ==previous known password== and changes ==Step6 response with Step3 response.==

  • Attacker logged in victims account even he dose not know new password of victim.

Video POC attached for your reference. ████

Thanks, @fuzzsqlb0f

Impact

Improper Authentication.

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