Skip to content
Access control Disclosed report Beginner

Enumerate all the class codes via google dorking

Class join links were indexed by search engines, so anyone could find them and join classes without an invitation. An attacker could enumerate classes and join them, potentially causing disruption.

renganathan Follow

Originally disclosed on HackerOne

  • Triaged in 47 hours
  • Fixed in 26 days
  • Disclosed after 56 days

I used this particular google dork site:khanacademy.org/join/* to enumerate all the links of joining classes.

  1. Go to google and use the above query to enumerate all of them.
  2. Create the student account by filling all the required details
  3. Now you're in the class without being actually invited by the teacher

Attached POC: ████████

Impact

An attacker can enumerate all the classes and join in them and make chaos there are chances of IDOR too... a class code can look like a57d5d5548f302ef4a instead of A45JST

The original report as published on HackerOne, by renganathan. 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 join pages were publicly reachable and not blocked from search engine indexing, so class join links leaked into search results.

Impact

An attacker could enumerate classes and join them without invitation, causing disruption; the reporter also suggests there may be IDOR chances.

What the attacker needed

Internet access; a student account; a join link found via search

How it was found

  1. Search Google with a dork targeting the site's join pages to list class links.
  2. Create a student account by filling in the required details.
  3. Use a found join link to enter the class without an invitation.

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.

A website had pages for joining online classes, and those pages were being listed by Google. Because the join links were public, a person could find them through a search and get into a class without the teacher inviting them.

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.

More from Khan Academy

View all

The newest disclosed reports for this program.

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.