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.
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.
- Go to google and use the above query to enumerate all of them.
- Create the student account by filling all the required details
- 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
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
- Search Google with a dork targeting the site's join pages to list class links.
- Create a student account by filling in the required details.
- 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.