What’s Vulnerable › Vulnerabilities
CVE-2020-7245
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-01-23 · updated 2026-06-17
- Weakness: CWE-640
Description
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 products
- Ctfd: from 2.0.0 through 2.2.2
References
- https://github.com/CTFd/CTFd/pull/1218
- https://github.com/CTFd/CTFd/releases/tag/2.2.3
- https://github.com/CTFd/CTFd/pull/1218
- https://github.com/CTFd/CTFd/releases/tag/2.2.3
Get alerted when CVE-2020-7245 or the next vulnerability affects your stack