Skip to content
Access control Write-up Beginner

Joining Any Class Without The Teachers Invitation In Khan Academy

Class join codes were exposed in search engine results, allowing anyone to enumerate them and join virtual classes without an invitation. The author used a Google dork to find these codes and successfully joined a class.

renganathan Follow

Published on infosecwriteups.com

This write-up is about a vulnerability that I found on khanacademy.org. Khan Academy Got a VDP on hackerone.

Renganathan, on infosecwriteups.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 the join links were publicly indexed by search engines, and the join codes were not treated as secrets or protected by additional authentication.

Impact

An attacker could join any virtual class without an invitation, potentially accessing class content or participating in discussions.

What the attacker needed

Internet access; search engine

How it was found

  1. Search for join links using a Google dork.
  2. Enumerate the class codes from the search results.
  3. Use a found code to join a class.

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.

A class join code is like a password that lets you enter a virtual classroom. Here, those codes were visible in search engine results, so anyone could find them and join a class without being invited. This is a problem because classes may contain private information or discussions.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by renganathan

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.