Incorrect username validation in the registration process of CTFd v2.0.0 - v2.2.2 allows an attacker to take over an arbitrary account if the username is known and emails are enabled on the CTFd instance. To exploit the vulnerability, one must register with a username identical to the victim's username, but with white space inserted before and/or after the username. This will register the account with the same username as the victim. After initiating a password reset for the new account, CTFd will reset the victim's account password due to the username collision.
No PoCs from references.
- https://github.com/ARPSyndicate/cvemon
- https://github.com/One87snuff/One87Snuff
- https://github.com/atdpa4sw0rd/Experience-library
- https://github.com/dalersinghmti/Acc0unt-Takeover
- https://github.com/i-snoop-4-u/Refs
- https://github.com/isnoop4u/Refs
- https://github.com/madhu199927/Testing-forget-Password-
- https://github.com/madhu199927/registration-vulnerabilities