Skip to content
Account takeover Disclosed report Beginner

User enumeration via Password reset page [Minor]

The password reset page revealed whether a username existed by showing an error for unknown users and redirecting to the login page for known ones. An attacker could use this to confirm valid usernames and then target them with brute-force attacks.

ahsan Follow

Originally disclosed on HackerOne

  • Disclosed after under an hour

Hey, I've found a 'minor' issue in bridge.cspr.ng [CMS Airship]

The issue is 'username enumeration'

Means, an attacker can know that if a user exists or not; just by noticing the error! So, once the attacker knows that a user exists, he can launch a brute force attack against it!

Steps of replication

  1. Go to password reset page
  2. Enter an username which exists, there would be no error, and it will be redirected to login page
  3. Enter an username which doesn't exists, there would be an error saying something like 'user account doesn't exists etc..'

Mediation

  • Error should be same in both conditions like, every time it should redirect to login page; or you can also fix by adding this: "If email/username exists in our DB, an email for your password reset will be sent!" etc..

Hope you'll fix this soon!

Thanks -Ahsan

The original report as published on HackerOne, by ahsan. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the password reset handler returned different responses for existing and non-existing usernames instead of a single generic response.

Impact

An attacker could confirm which usernames are valid and then launch brute-force attacks against those accounts.

What the attacker needed

Access to the password reset page; no account needed

The fix

The reset page should return the same generic response and redirect in both cases, for example stating that a reset email will be sent if the account exists.

How it was found

  1. Go to the password reset page.
  2. Enter a username that exists and observe that there is no error and you are redirected to the login page.
  3. Enter a username that does not exist and observe an error saying the account does not exist.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you ask a website to reset your password, it should not tell you whether the name you typed is real. Here, typing a real username sent you to the login page, but typing a fake one showed an error. That difference lets someone test many names to find real accounts, which they can then try to guess passwords for.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by ahsan

View all

24 more disclosed reports, best first.

More from Paragon Initiative Enterprises

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.