Skip to content
Subdomain takeover Write-up Beginner

Subdomain Takeover via pantheon

A subdomain pointed to Pantheon but was not claimed, so it showed an 'Unknown Site' error. An attacker could claim it by adding the domain to their own Pantheon account and serve their own content.

Smaran Chand Follow

Published on smaranchand.com.np

I hope you are having a great time, I would like to share an issue which i discovered in less than 10 minutes and got rewarded $XXXX bounty within 24 hours of the submission.

Smaran Chand (@smaranchand), on smaranchand.com.np

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a dangling DNS record pointing to Pantheon without an active site claim, allowing anyone to claim the subdomain.

Impact

An attacker could serve arbitrary content on the subdomain, which could be used for phishing or other attacks.

What the attacker needed

A Pantheon account; payment details for Pantheon; the subdomain must be unclaimed on Pantheon

How it was found

  1. Visit the subdomain and see a certificate error.
  2. Switch to HTTP and see a Pantheon 'Unknown Site' 404 page.
  3. Sign up for Pantheon, create a sandbox site, and install WordPress.
  4. Add the vulnerable domain to the Pantheon account.
  5. Wait a few seconds and see the sandbox content on the 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 write-up has not been written yet. The Original tab links to the source.

A subdomain is a prefix like blog.example.com. If it points to a hosting service but no one has claimed it there, anyone can sign up and claim it, then show their own pages on that address. This is called subdomain takeover.

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 Smaran Chand

View all

8 more disclosed reports, best first.

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.