Skip to content
Subdomain takeover Disclosed report Beginner

Subdomain takeover on usclsapipma.cv.ford.com

A Ford subdomain had a dangling CNAME pointing to an unclaimed Azure cloudapp virtual machine, allowing anyone to register that machine and take control of the subdomain. An attacker could then host malicious content, send phishing emails, or intercept traffic for that subdomain.

march Follow

Originally disclosed on HackerOne

  • Triaged in 14 hours
  • Fixed in 29 days
  • Disclosed after 2 months

Hello Ford H1 team,

I want to report a Subdomain takeover vulnerability in this report, a pretty serious security issue in some context.

##Overview: One of the ford.com subdomains is pointing to Azure, which has unclaimed CNAME record. ANYONE is able to own ford.com subdomain at the moment.

This vulnerability is called subdomain takeover. You can read more about it here:

https://blog.sweepatic.com/subdomain-takeover-principles/ https://labs.detectify.com/tag/hostile-subdomain-takeover/ https://hackerone.com/reports/325336

##Details: usclsapipma.cv.ford.com has CNAME usclsapipma.trafficmanager.net wich has a CNAME to feuscspma3fcvapi.eastus.cloudapp.azure.com. However, feuscspma3fcvapi.eastus.cloudapp.azure.com is not registered in Azure cloudapp Virtual machine anymore and thus can be registered as FQDN for a easus VM by anyone. After registering the Cloud App Virtual Machine in Azure portal, the person doing so has full control over traffic on dynatraceppeast01.cf.ford.com (so, not only HTTP/HTTPS but also mails traffic, etc, since we have full control over the virtual machine and it's OS).

##Mitigation: Remove the CNAME record from ford.com DNS zone completely. OR Claim it back in Azure portal

##Files : Azure-check-availability.png -> Screenshot of the Azure website api "check availability" for the "eastus" cloudapp virtual machine. on the link, you can see the location "eastus" part of the fqdn ad the DomainNameLabel "feuscspma3fcvapi" part of the FQDN, and the "available : true" response for this fqdn. dns-proof.png -> Result of a "dig" command for this domains, showing the "NXDOMAIN" reponse for the CNAME entry of the ford subdomain.

Cheers,

March_42

Impact

Subdomain takeover can be abused to do several things like :

Malware distribution Phishing / Spear phishing XSS Authentication bypass Legitimate mail sending and receiving on behalf of ford subdomain ... List goes on and on.

Attachments

Azure-check-availability.png
Azure-check-availability.png From the original on HackerOne
dns-proof.png
dns-proof.png

The original report as published on HackerOne, by march. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 CNAME record in Ford's DNS zone pointing to an Azure cloudapp virtual machine that was no longer registered, allowing anyone to claim it.

Impact

An attacker could use the taken-over subdomain for malware distribution, phishing, XSS, authentication bypass, and sending or receiving legitimate email on behalf of the Ford subdomain.

What the attacker needed

Azure account to register the VM; Knowledge of the dangling CNAME

The fix

The CNAME record should be removed from the Ford DNS zone, or the Azure cloudapp virtual machine should be claimed back in the Azure portal.

How it was found

  1. Resolve the Ford subdomain and follow its CNAME chain to the Azure cloudapp virtual machine.
  2. Check that the Azure cloudapp virtual machine name is available for registration.
  3. Register the available Azure cloudapp virtual machine to gain control of 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 report has not been written yet. The Original tab links to the source.

A subdomain takeover happens when a company's subdomain points to an external service that is no longer in use. If an attacker can claim that external service, they effectively control the subdomain. Here, the Ford subdomain pointed to an Azure virtual machine that had been deleted, so anyone could recreate it and take over the subdomain.

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 march

View all

1 more disclosed report, best first.

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.