Skip to content
Access control Write-up Beginner

How I found my First Valid bug

A subdomain exposed an admin panel that was accessible after signing in with a Google account, and a forgotten sign-up page had no rate limit on password reset requests. An attacker could reach the admin panel and send unlimited password reset emails to any registered address.

tanyago Follow

Published on medium.com

Hello everyone! I am really happy to announce that I got my first valid bug from a target, and not only that, I uncovered two bugs from that target.

Tanya Goyal, 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 missing authorisation checks on the admin subdomain and no rate limiting on the password reset endpoint.

Impact

An attacker could access an admin panel and send unlimited password reset emails, which may cause financial loss for the company or annoy users enough to stop using the service.

What the attacker needed

A Google account; access to the target's subdomains; a registered email address

How it was found

  1. Enumerate subdomains of the target and open each one.
  2. Find a subdomain that asks for Google sign-in and sign in with a Google account to reach the admin panel.
  3. Use a web archive tool to find a sign-up page and locate the forgot password feature.
  4. Capture the forgot password request in an intercepting proxy and send it to an intruder tool with a null payload.
  5. Run the attack and observe multiple password reset emails arriving.

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.

The researcher found two problems. First, a part of the website meant only for staff could be opened by simply logging in with a normal Google account, so the site did not check who was allowed in. Second, the 'forgot password' form had no limit on how many times it could be used, so someone could make the site send endless reset emails to a person's inbox.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by tanyago

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.