Skip to content
Open redirect Write-up Intermediate

Bypass To 1-Click ATO

The SSO login endpoint validated the continue parameter but could be bypassed with control characters such as CR, LF and tab, letting an attacker point the token delivery at a domain they control. A victim who opened the crafted link would have their login token sent to the attacker, who could then submit it to the real endpoint and take over the account.

medium.com

Published on medium.com

1、通过GET访问,https://passport.abc.com/account/unitivelogin?continue=https://abc.com/login/

xiaoshi, 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 could steal a victim's SSO token and log in as them, achieving one-click account takeover.

What the attacker needed

Victim clicks a crafted link; victim has an active SSO session

How it was found

  1. Visit the SSO endpoint with a continue parameter pointing at the site.
  2. The server issues a token.
  3. The token is submitted to the address in the continue parameter.
  4. Login completes.
  5. Fuzz the continue parameter with encoded characters to find ones that bypass validation.
  6. Craft a link where control characters make the token go to an attacker-controlled host.

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.

Single sign-on lets you log in once and be signed in to other sites automatically. When you come back, the login server hands your browser a token and tells it where to send that token. The site checked that address, but certain invisible control characters slipped past the check, so an attacker could make the token go to their own server and then use it to log in as you.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.