Skip to content
Account takeover Write-up Advanced

The Bad Twin: a peculiar case of JWT exploitation scenario

The text describes a JWT exploitation technique that led to account takeover, but the actual vulnerability details are not present in the provided content. The author claims a bad JWT implementation under specific circumstances allowed account takeover and earned a $3000 bounty.

sandh0t Follow

Published on medium.com

Bounty$3,000 View original

Hope you’re doing well. It’s been a While since my first write-up, I hope you learn something new from this one and enjoy it.

Sandh0t, 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

Root cause

Likely a bad implementation of JWT validation, but the text does not specify the exact mistake.

Impact

An attacker could perform an account takeover, as claimed by the author.

What the attacker needed

Specific circumstances (not detailed)

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.

The text is an introduction to a write-up about a security flaw in how a website handled JSON Web Tokens (JWTs), which are like digital ID cards. The author says they found a way to misuse this flaw to take over someone else's account, but the actual details of the flaw and the attack are not included in the provided text.

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.