CVE-2020-7245

Source
https://cve.org/CVERecord?id=CVE-2020-7245
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7245.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-7245
Published
2020-01-23T23:15:11.597Z
Modified
2026-03-14T14:48:18.278109Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ctfd/ctfd

Affected ranges

Type
GIT
Repo
https://github.com/ctfd/ctfd
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.0.0"
        },
        {
            "last_affected": "2.2.2"
        }
    ]
}

Affected versions

2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.2.0
2.2.1
2.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7245.json"