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
Link | Resource |
---|---|
https://github.com/CTFd/CTFd/pull/1218 | Third Party Advisory |
https://github.com/CTFd/CTFd/releases/tag/2.2.3 | Release Notes |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2020-01-23T22:47:11
Updated: 2020-01-28T14:55:28
Reserved: 2020-01-20T00:00:00
Link: CVE-2020-7245
JSON object: View
NVD Information
Status : Analyzed
Published: 2020-01-23T23:15:11.597
Modified: 2020-01-31T16:02:26.450
Link: CVE-2020-7245
JSON object: View
Redhat Information
No data.
CWE