Skip to content
Subdomain takeover Disclosed report Beginner

[Critical] Subdomain Takeover

Two subdomains of the target were configured as CNAME records pointing to Heroku applications that no longer existed. An attacker could register those Heroku app names and take control of the subdomains, potentially serving malicious content or intercepting traffic.

rootnp Follow

Originally disclosed on HackerOne

  • Triaged in 8 hours
  • Disclosed after 25 days

Summary by the researcher

Just a noob idea

The report

Your Subdomains are pointing to unconfigured heroku app. You should immediately remove the DNS-entry. Any One Can Claim That Domain , Please Read The Advisory Below.

::: Nslookup of Subdomains Not Claimed ::::: i) 0x00hack3r@pirateking:~ % nslookup bugs.instacart.com Server: 192.168.1.11 Address: 192.168.1.11#53

Non-authoritative answer: bugs.instacart.com canonical name = akita-7862.herokussl.com. akita-7862.herokussl.com canonical name = elb070827-1683851829.us-east-1.elb.amazonaws.com. Name: elb070827-1683851829.us-east-1.elb.amazonaws.com Address: 50.17.211.105 Name: elb070827-1683851829.us-east-1.elb.amazonaws.com Address: 54.225.201.77 Name: elb070827-1683851829.us-east-1.elb.amazonaws.com Address: 23.23.106.52

ii) 0x00hack3r@pirateking:~ % nslookup atlas.instacart.com Server: 192.168.1.11 Address: 192.168.1.11#53

Non-authoritative answer: atlas.instacart.com canonical name = tochigi-6557.herokussl.com. tochigi-6557.herokussl.com canonical name = elb070826-1853155728.us-east-1.elb.amazonaws.com. Name: elb070826-1853155728.us-east-1.elb.amazonaws.com Address: 54.204.29.82 Name: elb070826-1853155728.us-east-1.elb.amazonaws.com Address: 107.20.229.78 Name: elb070826-1853155728.us-east-1.elb.amazonaws.com Address: 54.235.189.162

Subdomain pointing to a non-existing Heroku app showing: there is no app configured at that hostname

I have attached screenshots : For the impacts, vuln see : https://labs.detectify.com/2014/10/21/hostile-subdomain-takeover-using-herokugithubdesk-more/

Attachments

Screenshot_from_2016-08-27_16-19-25.png
Screenshot_from_2016-08-27_16-19-25.png From the original on HackerOne
Screenshot_from_2016-08-27_16-18-40.png
Screenshot_from_2016-08-27_16-18-40.png

The original report as published on HackerOne, by rootnp. 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 the DNS CNAME records for the subdomains still pointed to Heroku app hostnames that had been deleted, allowing anyone to register those names.

Impact

An attacker could claim the unconfigured Heroku app names and take over the subdomains, potentially hosting malicious content or phishing pages under the trusted domain.

What the attacker needed

DNS records point to deleted Heroku apps; Attacker can register Heroku apps with those names

The fix

The DNS entries pointing to the unconfigured Heroku apps should be removed.

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 prefix like 'bugs' in bugs.example.com. The report shows that these subdomains were set up to point to a hosting service (Heroku) but the specific app there was deleted. Because anyone can create a new app with the same name on Heroku, an attacker could claim it and make the subdomain show their own content.

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 rootnp

View all

1 more disclosed report, best first.

More from Instacart

View all

The newest disclosed reports for this program.

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.