This Is How I Bypassed The Most Critical Security Check!
The onboarding flow enforced completion of survey, security questions and user details only at the security-questions step, but the earlier onboarding-survey endpoint did not. An attacker could navigate directly from the survey page to the dashboard, skipping all required checks and fields.
medium.com
Published on medium.com
The original lives on medium.com
We do not hold its text, 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 access check for the onboarding steps was enforced only on the security-questions endpoint and not on the earlier onboarding-survey endpoint, so direct navigation from there skipped the remaining steps.
What the attacker needed
A new account with a verified email
The fix
The onboarding gate should be enforced server-side on every step and on the dashboard itself, not only on the security-questions page.
How it was found
- Create an account and verify the email.
- Complete the survey and reach the security-questions page.
- Try to open the dashboard directly from the security-questions page; it redirects back.
- Go to the onboarding-survey endpoint and open the dashboard address directly.
- The dashboard loads without completing security questions or user details.
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.
A website made new users fill in a survey, answer security questions and enter personal details before reaching their dashboard. The check that stopped people jumping ahead was only applied on one page, not on the page just before it. By typing the dashboard address while on the earlier survey page, the author reached the dashboard without doing any of those steps.
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.