Vulnerability in Ctfd

CVE-2020-7245

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.

EPSS: 0.012 (64.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Ctfd
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-7245?
CVE-2020-7245 is a critical-severity vulnerability in Ctfd, classified under Weak Password Recovery Mechanism for Forgotten Password. CVSS score: 9.8/10. Published 2020-01-23.
How severe is CVE-2020-7245?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2020-7245 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.