Account Takeover: Weak Password Reset Token

Account takeoverExploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

The password reset token should be randomly generated and unique every time. Try to determine if the token expire or if it's always the same, in some cases the generation algorithm is weak and can be guessed. The following variables might be used by the algorithm.

  • Timestamp

  • UserID

  • Email of User

  • Firstname and Lastname

  • Date of Birth

  • Cryptography

  • Number only

  • Small token sequence (<6 characters between [A-Z,a-z,0-9])

  • Token reuse

  • Token expiration date

Comments

No comments yet.