Subdomain takeover [████████]
A subdomain's DNS record pointed to an unregistered Azure cloud app endpoint, allowing an attacker to claim that endpoint and serve content on the subdomain. The attacker could then host malicious pages, steal cookies, conduct phishing, or bypass security policies.
- Triaged in 4 hours
- Fixed in 20 days
- Disclosed after 28 days
The subdomain ███████ was pointing to an Azure Cloud App domain (araz-sp.centralus.cloudapp.azure.com), but that endpoint was not registered.
Impact
It's extremely vulnerable to attacks as a malicious user could create any web page with any content and host it on the vulnerable domain. This would allow them to post malicious content which would be mistaken for a valid site.
They could perform several attacks like:
- Cookie Stealing
- Phishing campaigns.
- Bypass Content-Security Policies and CORS.
Recommendations for fix
- Remove the affected DNS record if not used
Supporting Material/References:
System Host(s)
███████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Just go to
http://████████
You will see a blank page, but checking the source code you will see proof of the take over.
<html>
<!-- poc by deleite -->
</html>
Suggested Mitigation/Remediation Actions
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a dangling DNS record pointing to a deprovisioned cloud resource that an attacker could re-register.
Impact
An attacker could host arbitrary content on the subdomain, enabling cookie theft, phishing, and bypass of CSP and CORS protections.
What the attacker needed
DNS record points to unclaimed cloud resource; Attacker registers the cloud resource
The fix
The affected DNS record should be removed if not used.
How it was found
- Visit the subdomain URL.
- Observe a blank page.
- Check the page source to see the proof-of-concept comment.
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 report has not been written yet. The Original tab links to the source.
A subdomain is a part of a website's address, like blog.example.com. Here, that subdomain was set up to point to a cloud service that nobody had claimed, so anyone could sign up for that service and take control of what the subdomain shows. This lets an attacker pretend to be the real site.
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.