The frontend knew who was an admin. The server forgot to check
A password-update route found in client-side JavaScript did not require authentication and returned different responses for valid and invalid usernames, allowing account enumeration. The old-password check still blocked a full account takeover.
medium.com
Published on medium.com
A login page can make an application look empty. No registration, no dashboard and no obvious features to test.
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 server did not enforce authentication on the password-update endpoint, relying on the frontend to hide it.
Impact
An unauthenticated attacker could reach the password-update workflow and enumerate valid usernames, but could not complete an account takeover because the old-password check remained.
What the attacker needed
None
The fix
The backend should require a verified session and check permissions on every sensitive endpoint, including password updates.
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.
Websites often hide buttons or pages from users who should not see them, but that hiding happens in the browser and anyone can bypass it. Here, a password-change page was reachable without logging in, and the server answered differently depending on whether a username existed, which let someone check which accounts are real. The actual password change still needed the old password, so no account was taken over.
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.