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.
{{media:0}}
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
- Find a subdomain (info.hacker.one) whose DNS points to unbouncepages.com.
- Try to add the domain via the API and see the 'domain is already claimed' message.
- Bypass the domain filter by trying different requests and changing parameters.
- Add the domain and take control of the subdomain.
- 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.