Subdomain takeover on healthyhackathon.khanacademy.org and hackweek.khanacademy.org
A subdomain of khanacademy.org pointed to an S3 bucket that no longer existed, allowing anyone to claim the bucket and control the subdomain's content. An attacker could then host a fake page to spoof users and collect their information.
Originally disclosed on HackerOne
- Fixed in 2 hours
- Disclosed after 8 months
#Summary : healthyhackathon.khanacademy.org can be took over, since it points to a bucket in S3 but that bucket does not exists.
I know this domain is used to host information of healthyhackathon which is held by khanacademy, but you will not be able to do this anymore if someone is going to claim that bucket.
#Reference : S3_takeover
Impact
Taking control of healthyhackathon.khanacademy.org and spoof khanacademy users that healthyhackathon is reopened/"archived for you to challenge" and collect their information.
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 a dangling DNS record pointing to a deleted S3 bucket that was not removed when the bucket was deleted.
Impact
An attacker could take control of the subdomain and spoof Khan Academy users to collect their information, as the report claims.
What the attacker needed
None
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.
When a website uses a cloud storage service like Amazon S3 to host files, it often points a subdomain to a specific storage bucket. If that bucket is deleted but the subdomain still points to it, anyone can create a new bucket with the same name and take control of the subdomain. This is called a subdomain takeover, and it lets an attacker show their own content on the trusted domain.
What is Subdomain takeover?
A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.