Skip to content
Account takeover Write-up Beginner

My First Valid Bug!!!

After enabling two-factor authentication, existing sessions did not expire, and another session could still change the account password. An attacker holding a stolen session could keep access and take over the account even after the victim turned on 2FA.

sushilgill08 Follow

Published on medium.com

Hey Everyone! Today I am going to share my experience of the first valid bug that I found.

Sushil Choudhary, on medium.com

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 a stolen session could retain access and change the password even after the victim enabled 2FA, although the programme treated it as a best-practice issue rather than a security vulnerability.

What the attacker needed

Attacker holds a valid session; victim enables 2FA

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 you log in, the site gives your browser a session, a kind of pass that keeps you logged in. Two-factor authentication (2FA) is a second proof of identity, such as a code from your phone. Here, turning on 2FA did not cancel old passes, so someone who already had one could stay logged in and even change the password.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.