Efficient Methodology To Get p2 Level Subdomain Takeover Vulnerability
A subdomain's DNS record still pointed to a third-party website builder after the original site was removed, leaving the subdomain unclaimed. The researcher created an account on that service and claimed the subdomain, taking control of it.
Published on infosecwriteups.com
Hello Guys, I’m Suprit a cybersecurity enthusiast and researcher. This is mine first blog and I’m going to explain how I was able to hack a subdomain of an organization with mine easy and efficient methodology.
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
Impact
An attacker could host their own content on the organisation's subdomain, which could be used for phishing or reputational damage; the text does not describe any further exploitation.
What the attacker needed
Dangling DNS record to a claimable service; account on the third-party service; none for the victim
How it was found
- Enumerate subdomains with tools including crt.sh and resolve them to find live hosts.
- Run takeover scanners such as subzy, subjack and Nuclei takeover templates against the list.
- Visit the flagged subdomain manually and see the service's 'Domain has been assigned' page.
- Identify the third-party service the subdomain points to.
- Create an account on that service and set up a page linked to 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' in blog.example.com. If a company stops using a subdomain but leaves its DNS record pointing at an external service, anyone who signs up for that service can claim the name and serve their own content on the company's subdomain. 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.