Skip to content
UI spoofing Disclosed report Intermediate

Khan Academy ClickJacking to Steal Users's Credintials

The login page for alerta.khanacademy.org displayed an error message containing sensitive user information such as email, access token and client ID when a normal user tried to sign in with Google. An attacker could use clickjacking to trick a logged-in victim into revealing these credentials.

hack_im Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 20 months
  • Disclosed after 21 months

#DESCRIPTION

  1. It ask to login to https://alerta.khanacademy.org with google account.
  2. It doesn't give access to any normal user.
  3. That's why after trying to login with GOOGLE account it shows a error message prompt with user's sensitive information including [email, code/access token and client id etc.]
  4. Let's steal it via Click Jacking!

Note: If victim is already logged into his google account, attacker can easily steal victim's credintials including [email, code/access token and client id etc.]

#Usually we always logged into our google account, so it's quite easy to steal victim's credintials.

#Step to Re-Produce:

Step 1. Let's make [ Script+PoC ] via BurpSuite! (Attachment on the original report: clickjacked.html)

Step 2. Login to your google account.

Step 3. Exploition!

Watch my proof of concept video carefully!

████

Cheers!

Impact

Attacker can easily steal victim's credintials including [email, code/access token and client id etc.]

The original report as published on HackerOne, by hack_im. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the login error page exposed sensitive tokens in the page content and the site did not prevent itself from being framed by other websites.

Impact

An attacker could steal a victim's email, access token and client ID if the victim is already logged into their Google account, but the report does not show that the attack worked against a real user.

What the attacker needed

Victim logged into Google; victim visits attacker page

How it was found

  1. Create a clickjacking script and proof of concept using BurpSuite.
  2. Log in to your Google account.
  3. Visit the malicious page to trigger the clickjacking exploit.

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 report has not been written yet. The Original tab links to the source.

Clickjacking is when a malicious site secretly loads a real site in an invisible frame and tricks you into clicking something you did not intend to click. Here, the real site showed private details in an error message, and the attacker could make you click to reveal them without you noticing.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by hack_im

View all

2 more disclosed reports, best first.

More from Khan Academy

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.