The Tiny Auth Misstep That Hid a Login Bypass for Three Years
A web dashboard's authentication middleware was misconfigured so that session tracking was disabled and some legacy routes lacked the middleware entirely, allowing unauthenticated access to customer records. Attackers or former partners could view sensitive data without logging in, and search engines indexed some pages.
medium.com
Published on medium.com
Imagine logging into your company dashboard one Monday morning and seeing a customer record you shouldn’t see.
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 authentication middleware was configured with session tracking disabled and included a test-environment fallback that allowed access without a user, while some legacy routes did not use the middleware at all.
Impact
Former support partners and possibly others could access customer records without authentication, and search engines indexed some pages, leading to lost trust and paused renewals; no mass exfiltration occurred.
What the attacker needed
Knowledge of the URL; no login required
The fix
The authentication system should be fixed by removing test-only fallbacks, ensuring all routes use authentication middleware, and failing closed with a 401 response.
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.
This is a story about a login system that was supposed to stop people seeing private data unless they signed in. A small configuration change accidentally turned off part of the login check, and some older pages never had the check at all, so anyone who found the web address could see customer information without a password.
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.