Skip to content
Subdomain takeover Write-up Intermediate

Hundreds of hundreds sub-secdomains hack3d! (including Hacker0ne)

A subdomain of HackerOne pointed to a third-party landing page service, and the service's API allowed the author to bypass a domain-claim check and add any domain already managed by that service. This let the author take over hundreds of subdomains, including info.hacker.one.

ak1t4 Follow

Published on medium.com

Bounty$1,000 View original

{{media:0}}

Ak1T4, on medium.com

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 the landing page service's API did not properly enforce domain ownership, allowing a filter bypass to claim domains already managed by the service.

Impact

The author could take over hundreds of subdomains, including those of HackerOne and other companies, potentially serving malicious content.

What the attacker needed

Subdomain points to the landing page service; access to the service's API

How it was found

  1. Find a subdomain (info.hacker.one) whose DNS points to unbouncepages.com.
  2. Try to add the domain via the API and see the 'domain is already claimed' message.
  3. Bypass the domain filter by trying different requests and changing parameters.
  4. Add the domain and take control of the subdomain.
  5. Perform a reverse DNS lookup on the service's IP to find other affected domains.

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 'info' added to a main domain. Here, that subdomain was set up to point at an outside company's landing-page service. That service had a flaw that let someone claim domains that were already in use, so the author could control what those subdomains showed.

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 ak1t4

View all

8 more disclosed reports, best first.

More from HackerOne

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.