How I found a bug in Microsoft
A subdomain of a Microsoft-owned domain pointed to an unclaimed Azure website, allowing anyone to register it. An attacker could claim the subdomain and host content under the Microsoft domain, potentially enabling phishing or other abuse.
Published on nityanandjha18.medium.com
Just after placement, I started applying my hands in bug hunting. First, I hunted bugs in smaller programs and government websites, but later, I was motivated by my friend Sumon(bugxploit).
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
What the attacker needed
None
How it was found
- Enumerate subdomains using several tools and combine the results into one file.
- Remove duplicate entries from the combined list.
- Filter the list to keep only live domains using an HTTP probing tool.
- Run a vulnerability scanner with its default subdomain takeover templates.
- Identify a domain pointing to an unclaimed Azure website.
- Register the unclaimed Azure website to claim the subdomain and report it.
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 that subdomain points to a cloud service that nobody has claimed, anyone can sign up for that service and take control of the subdomain. This is called subdomain takeover and can let an attacker pretend to be the real organisation.
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.