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.
References
Link | Resource |
---|---|
https://github.com/CTFd/CTFd/releases/tag/2.2.3 | Release Notes |
https://github.com/CTFd/CTFd/pull/1218 | Third Party Advisory |
Configurations
Information
Published : 2020-01-23 15:15
Updated : 2020-01-31 08:02
NVD link : CVE-2020-7245
Mitre link : CVE-2020-7245
JSON object : View
CWE
CWE-640
Weak Password Recovery Mechanism for Forgotten Password
Products Affected
ctfd
- ctfd