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.
- Triaged in 3 hours
- Fixed in 20 months
- Disclosed after 21 months
#DESCRIPTION
- It ask to login to https://alerta.khanacademy.org with google account.
- It doesn't give access to any normal user.
- 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.]
- 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.]
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
- Create a clickjacking script and proof of concept using BurpSuite.
- Log in to your Google account.
- 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.