Skip to content
Subdomain takeover Disclosed report Beginner

Subdomain takeover of vmimages.mozilla.net

A Mozilla subdomain pointed to an unclaimed S3 bucket, allowing anyone to claim it and host content under the trusted domain. An attacker could use this for phishing, hosting malicious files, or account takeover.

Leo Follow

Originally disclosed on Mozilla

  • Fixed in 15 hours
  • Paid in 6 days
  • Disclosed after 15 hours

Hi!

I discovered that vmimages.mozilla.net was pointing to an unclaimed s3 bucket, making it vulnerable to subdomain takeover.

I've claimed the s3 bucket in my aws account and added a simple POC file: http://vmimages.mozilla.net/takeover.html

Mitigations:

  • Remove CNAME to vmimages.mozilla.net.s3-website-us-west-2.amazonaws.com.

Impact:

Subdomain takeovers can be abused for bad things such as:

  • account takeovers
  • phishing
  • hosting malicious content

Best regards, Leo S

The original report as published on Mozilla's Bugzilla, by Leo. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 DNS CNAME record still pointed to an S3 bucket that had been deleted or never claimed, so the bucket name was available for anyone to register.

Impact

An attacker could host malicious content or phishing pages on the trusted subdomain, potentially leading to account takeovers.

What the attacker needed

Knowledge of the subdomain; ability to create an AWS S3 bucket

How it was found

  1. Notice that the subdomain resolves to an S3 website endpoint.
  2. Check whether the S3 bucket name is unclaimed.
  3. Claim the bucket in an AWS account and upload a proof-of-concept file.
  4. Confirm the file is served from the Mozilla subdomain.

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 subdomain is a part of a website address, like blog.example.com. If it points to a cloud storage bucket that no longer exists, anyone can create that bucket and put their own files there, so visitors see the trusted domain but the attacker controls the content.

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.

More by Leo

View all

3 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

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.