Possible Subdomain Takeover at http://production.s3.rubygems.org/ pointing to Fastly
A DNS record for a RubyGems subdomain pointed to Fastly without a corresponding Fastly service being configured. The researcher reported it as a potential subdomain takeover risk, though the program stated that actual takeover was not possible because they control all subdomains of rubygems.org.
- Fixed in under an hour
- Disclosed after 4 months
Summary by the program
A DNS record was found that was pointing to Fastly, but there was no Fastly service configured for this domain. We removed the record because it was not needed any longer. A subdomain takeover was not possible because although there was no service configured, we do have control of any subdomain of rubygems.org so another user would not be able to register it.
Summary by the researcher
RubyGems is right, there was no way to properly takeover that domain, but I reported because no service was configured, and this could cause trouble in the future, at least if a bug appears in Fastly
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 Fastly service that was no longer configured.
Impact
A subdomain takeover was not possible because the organisation controls all subdomains of rubygems.org, but the dangling record could cause trouble in the future if a bug appears in Fastly.
What the attacker needed
DNS record pointing to Fastly; No Fastly service configured
The fix
The DNS record was removed because it was no longer needed.
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 DNS record points to a service that is no longer in use, allowing someone else to claim that service and control the subdomain. Here, the record pointed to Fastly but no Fastly service existed, so the researcher flagged it as a future risk. The program explained that because they own the whole domain, no outsider could register the subdomain anyway.
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.