Vulnerability Details : 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.
Products affected by CVE-2020-7245
- cpe:2.3:a:ctfd:ctfd:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7245
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7245
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2020-7245
-
The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-7245
-
https://github.com/CTFd/CTFd/releases/tag/2.2.3
Release 2.2.3 · CTFd/CTFd · GitHubRelease Notes
-
https://github.com/CTFd/CTFd/pull/1218
Strip spaces on registration and refine password reset by ColdHeat · Pull Request #1218 · CTFd/CTFd · GitHubThird Party Advisory
Jump to