{ "schema_version": "1.4.0", "id": "GHSA-qrhm-93gw-vg83", "modified": "2022-05-24T17:07:19Z", "published": "2022-05-24T17:07:19Z", "aliases": [ "CVE-2020-7245" ], "details": "Incorrect username validation in the registration processes of CTFd through 2.2.2 allows a remote attacker to take over an arbitrary account after initiating a password reset. This is related to register() and reset_password() in auth.py. To exploit the vulnerability, one must register with a username similar to the admin, but with spaces inserted before and after the username. This will register the account with the same username as the admin. After a reset of the password for this new account, CTFd will reset the admin account's password due to the username collision.", "severity": [], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7245" }, { "type": "WEB", "url": "https://github.com/CTFd/CTFd/pull/1218" }, { "type": "WEB", "url": "https://github.com/CTFd/CTFd/releases/tag/2.2.3" } ], "database_specific": { "cwe_ids": [], "severity": "MODERATE", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2020-01-23T23:15:00Z" } }