Vulnerability CVE-2020-7245


Published: 2020-01-23   Modified: 2020-01-24

Description:
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.

Type:

CWE-640

(Weak Password Recovery Mechanism for Forgotten Password)

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
CTFD -> CTFD 

 References:
https://github.com/CTFd/CTFd/pull/1218
https://github.com/CTFd/CTFd/releases/tag/2.2.3

Copyright 2024, cxsecurity.com

 

Back to Top