Skip to content
Account takeover Write-up Intermediate

Mass Account takeover by bypassing 2 FA

The login flow trusted a client-supplied user identifier, allowing an attacker to take over accounts by providing someone else's userid.

Zeeshan M Follow

Published on z-sec.co

I'm not gonna bore you with a long story of this pentest project. Last month I was working on a Pen-testing project and I found multiple critical & high vulnerabilities and I'll cover the interesting findings only.

Zeeshan M., on z-sec.co

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 login flow relied on a client-supplied user identifier without verifying it against the authenticated session.

Impact

An attacker could take over any user's account by providing their userid.

What the attacker needed

Knowledge of a target user identifier

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.

After logging in, the site trusted a user identifier sent by the browser, so anyone could claim to be another user and get into their account.

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.

More by Zeeshan M

View all

2 more disclosed reports, best first.

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.