Account Takeover: Password Reset via Username Collision

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.

  1. Register on the system with a username identical to the victim's username, but with white spaces inserted before and/or after the username. e.g: "admin "

  2. Request a password reset with your malicious username.

  3. Use the token sent to your email and reset the victim password.

  4. Connect to the victim account with the new password.

The platform CTFd was vulnerable to this attack. See: CVE-2020-7245

Comments

No comments yet.