Enumerate class codes via yahoo dork - Can access any course under teacher - Sensitive information leaked
Class join codes for Khan Academy were indexed by search engines, allowing anyone to find and join classes without an invitation. An attacker could enumerate classes, join them, and view the teacher's full name.
Originally disclosed on HackerOne
- Triaged in 5 days
- Fixed in 9 days
- Disclosed after 46 days
Hello Team,
I am quality researcher and I found some links using yahoo dorking techniques
I used yahoo dork site:pl.khanacademy.org/join
I used Firefox browser.
Steps to reproduce: 1.Go to yahoo search page and use above query to enumerate. 2.Create student account by filling all the required details 3.Now you are in the class without actually invited by teacher. 4.You can pick any course from item and start you course.
I can also able to see teacher Full name- This is sensitive information
Attached POC:
Impact
Any black hacker can enumerate all the classes and join in them and can make chaos. Some chances of IDOR too. If you can encrypt this class details which some hashing technique and this will not showed up with dorking queries.
Attachments
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 accessible and not blocked from search engine indexing, so class codes appeared in search results.
Impact
An attacker could enumerate and join classes, potentially causing disruption and viewing sensitive teacher information such as full names.
What the attacker needed
Internet access; a student account
The fix
Class details should be protected so they do not appear in search engine dorking results.
How it was found
- Search Yahoo with a dork to find join pages.
- Create a student account with the required details.
- Join a class without an invitation.
- Access any course from the 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 report has not been written yet. The Original tab links to the source.
A class join code is like a password that lets students enter a teacher's online classroom. Here, those codes were visible in search engine results, so anyone could find them and join a class without being invited. This let people see the teacher's name and access course materials.
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.