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…

published January 23, 2020

CVSS
—
EPSS
1%
Percentile
67.1
In the wild
Unconfirmed
What it is

🚨 A sneaky username trick can get you locked out of your own account! This vulnerability in CTFd v2.0.0 - v2.2.2 allows attackers to hijack accounts with just a space in the username. 🔥 It's like two customers at a coffee shop trying to order with the same name — one slips in a space before their name on the order, and suddenly, the barista gets confused and serves the wrong person. The fallout? Your coffee goes to someone else! If exploited, an attacker could reset the victim's password and take complete control of their account, leading to unauthorized access to sensitive competition data or personal information. This could be absolutely devastating for users relying on the platform for security in their contests.

Put simply

It's like two customers at a coffee shop trying to order with the same name — one slips in a space before their name on the order, and suddenly, the barista gets confused and serves the wrong person. The fallout? Your coffee goes to someone else! This vulnerability stems from incorrect username validation during the registration process, allowing an attacker to create an account with a username that appears identical to the victim's, just by adding whitespace.

What to do

If exploited, an attacker could reset the victim's password and take complete control of their account, leading to unauthorized access to sensitive competition data or personal information. This could be absolutely devastating for users relying on the platform for security in their contests. To protect your CTFd instance, upgrade to version 2.3.0 or later immediately. Additionally, consider implementing stricter username validation that trims whitespace and checks for duplicates more effectively. Regularly audit your user registration process to ensure security. You've got this! With these steps, you’ll be a security hero, keeping your accounts safe! 🦸‍♂️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01166 · 67.1th percentile
Published
2020-01-23T22:47Z
EPSS history
Timeline
  • 23 JAN 22:47Z
    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…
    cvelistv5