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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.012 (66.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 66.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/CTFd/CTFd/pull/1218 (Third Party Advisory)
- github.com/CTFd/CTFd/releases/tag/2.2.3 (Release Notes)
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.