How I Found My First P1 in a Bug Bounty Program
A hidden endpoint allowed sending registration emails to any address, bypassing the default SSO. An attacker could register as an employee and access privileged information such as names, addresses, and phone numbers.
medium.com
Published on medium.com
My name is Ignacio Jose Riva, and I am a full-time Bug Bounty Hunter actively working on Bugcrowd, hunting for all kinds of vulnerabilities.
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 an access control flaw where a hidden endpoint allowed sending registration emails without proper authorisation, enabling self-registration and bypassing SSO.
What the attacker needed
Ability to send requests to the target; a valid email address to receive the registration link
How it was found
- Fuzz the main application path and use Google dorks to find a login endpoint that only supports SSO.
- Analyse JavaScript files from that endpoint to discover a hidden invite endpoint.
- Test the invite endpoint by sending a registration email to the researcher's own email address.
- Use the received registration link to register and log in as an employee.
- Access privileged information such as names, addresses, and phone numbers.
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 website normally requires a special single sign-on (SSO) to log in, but the researcher found a hidden page that let anyone request a registration email. By using that email link, they could create an account and see private employee data. This is like finding a back door that skips the usual login check.
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.