CVE-2020-7245: Critical severity CTFd CTFd vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2020-7245?
CVE-2020-7245 is considered a high severity vulnerability due to the potential for account takeover.
How do I fix CVE-2020-7245?
To fix CVE-2020-7245, upgrade your CTFd instance to version 2.2.3 or later.
What versions of CTFd are affected by CVE-2020-7245?
CTFd versions 2.0.0 through 2.2.2 are affected by CVE-2020-7245.
Can CVE-2020-7245 be exploited if user emails are disabled?
No, CVE-2020-7245 requires that emails are enabled on the CTFd instance to exploit the vulnerability.
What is the impact of CVE-2020-7245 on user accounts?
CVE-2020-7245 allows an attacker to take over an arbitrary account if they know the username.