Day 11 Bug Bounty — 60 days 60 bugs challenge
The application did not regenerate the session identifier after login, allowing an attacker who fixes a session ID to take over the user's session. The author found this in a staging environment and recommended session regeneration.
Published on medium.com
Hi there it’s cyberbeat again. This morning I got up around 5.30, realizing that I have to go for work.
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 application reused the pre-authentication session identifier after login instead of generating a new one.
Impact
An attacker who fixes a session ID could gain unauthorised access to the user's account.
What the attacker needed
Attacker can set victim's session ID; victim logs in
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 session ID is a temporary code a website gives your browser after you log in, so it knows who you are. If the site keeps the same code before and after login, someone who knows that code can pretend to be you. The fix is to give a brand-new code at login.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.