Skip to content
Open redirect Write-up Beginner

Youtube - Open redirection

A YouTube link could redirect users to an attacker-controlled phishing site that mimicked YouTube's login page. An attacker could trick a victim into entering their Google credentials, potentially taking over their YouTube and Google account.

Barak Tawily Follow

Published on quitten.github.io

Google fixed this a year after I reported this bug and yet refused to accept this as a vulnerability, got no luck with bug-bounties haha

Barak Tawily, on quitten.github.io

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 redirect endpoint accepted an arbitrary destination URL without validating that it stayed on YouTube's own domain.

Impact

An attacker could steal a victim's Google credentials and take over their YouTube and Google account, though the report does not show the exact redirect parameter or confirm the phishing page's effectiveness.

What the attacker needed

Victim clicks a crafted link; victim enters credentials on phishing page

The fix

The redirect should be fixed by only allowing destinations on YouTube's own domain or by showing an interstitial warning before leaving the site.

How it was found

  1. The attacker sends a crafted YouTube link to the victim.
  2. The victim clicks the link and is redirected to a phishing site that asks for YouTube credentials.
  3. The victim enters their credentials, believing they are still on YouTube.
  4. The attacker uses the stolen credentials to take over the victim's YouTube and Google account.

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.

An open redirect is when a website lets you specify where to send someone after they click a link. Here, a YouTube link could be crafted to send the visitor to a fake login page that looks like YouTube. If the person typed their password there, the attacker would steal their account.

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.

More by Barak Tawily

View all

1 more disclosed report, best first.

More from Google

View all

The newest disclosed reports for this program.

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.