Skip to content
Info disclosure Write-up Beginner

how did I lose $5000?

The author noticed that the site's response for an invalid username ended with a period, while a valid username produced a response without the period. By brute-forcing usernames and watching for this difference, they identified a valid username and then brute-forced its password.

mr.matrex00.7 Follow

Published on medium.com

Then, I tried putting the username in the request while performing a brute force on the password. As you might expect, I found that this username actually

Y0S3TREX, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the application returned slightly different error messages for existing and non-existing usernames, allowing username enumeration.

What the attacker needed

Ability to send many login requests; no rate limiting on login

How it was found

  1. Brute-force usernames on the site and observe the response text.
  2. Notice that the invalid-username response ends with a period.
  3. Look for responses where the period is missing, indicating a valid username.
  4. Use the discovered username and brute-force the password.

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 write-up has not been written yet. The Original tab links to the source.

When you type a username into a login form, the website replies with a message. Usually the message is the same whether the username exists or not, but here the message was slightly different: one had a full stop at the end and the other did not. That tiny difference let the author tell which usernames were real, and then guess passwords for them.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by mr.matrex00.7

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.