One idea Uncovers Authentication Bypass & Session management flaw
The platform's re-authentication prompt after inactivity accepted any valid user's password, not just the logged-in user's password. An attacker with any valid account could unlock another user's idle session.
Published on medium.com
One evening, after wrapping up some tasks, I decided to spend some time exploring a well-secured platform for potential vulnerabilities. As a cybersecurity enthusiast, I often use two different user accounts to simulate real-world scenarios and thoroughly test systems.
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
Impact
An attacker with any valid account could unlock another user's idle session, potentially exposing sensitive information in shared environments.
What the attacker needed
Attacker has a valid account; victim's session is idle; attacker has access to victim's device
How it was found
- Log in with Account 1 and let the session idle until a re-authentication prompt appears.
- Enter the password for Account 2 instead of Account 1.
- Observe that the session resumes without an error.
- Repeat with a newly created Account 3's password during Account 1's re-authentication; the session continues.
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.
When a website logs you out after being idle, it usually asks for your password again to make sure it's still you. Here, the site checked that the password belonged to some account on the platform, but not necessarily the account whose session was open. So someone else's password could unlock your session.
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.