Restrict any user from logging into his account.
A destroyed session token was not fully invalidated, so replaying it repeatedly forced the legitimate user to be logged out each time they signed in. An attacker holding an old session could keep a victim locked out of their account indefinitely.
- Triaged in 4 days
- Fixed in 31 days
- Disclosed after 31 days
Hackerone's destroys user sessions automatically after signing out,changing password etc.So Old sessions are seems to be worthless for any attacker.But I found something,by exploiting this you can restrict any hackerone user to logging into his account.
Pre-Requisition I just need one of his old sessions.
steps to reproduce
- Login to hackerone.
- Capture any request.
- Send it to burp intruder.
- Logout from hackerone.
- Now start intruding that captured request,which is carrying the old destroyed session.
- Try log in from other device.
- Every time burp intruder sends a request,the present logged in account will be logged out automatically.
So if you keep continue intruding,that user will never be able to login to his own ID.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server did not fully invalidate destroyed session tokens, so replaying an old token still triggered a session-termination action against the current session.
Impact
An attacker with one old session could repeatedly force the victim's current session to be terminated, preventing the victim from staying logged in.
What the attacker needed
One old session token of the victim
How it was found
- Log in to the target site.
- Capture any authenticated request.
- Send the captured request to an intruder tool.
- Log out of the site.
- Replay the captured request carrying the old destroyed session repeatedly.
- Try to log in from another device and observe the new session being logged out.
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 report has not been written yet. The Original tab links to the source.
When you sign out of a website, the site is supposed to forget the session token that kept you logged in. Here, an old token still had an effect: sending it over and over caused the site to log out whoever was currently signed in. Someone who had once held that token could keep kicking the real user out.
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.