Skip to content
Subdomain takeover Disclosed report Beginner

[Screenhero] Subdomain takeover

A DNS CNAME record for a Slack-acquired subdomain pointed to an inactive third-party service, allowing anyone to claim the username and take over the subdomain. An attacker could then host a clone of the site to steal credentials and cookies or inject malicious code.

Yassine Aboukir Follow

Originally disclosed on HackerOne

  • Triaged in 24 hours
  • Fixed in 48 hours
  • Paid in 48 hours
  • Disclosed after 8 months

Hi,

I found out some neglected DNS records that can be exploited to takedown the subdomain of Slack's acquisition feedback.screenhero.com

The security issue is that you have CNAME record that points feedback.screenhero.com to a screenhero.uservoice.com, but the problem is that the service is inactive, thus any malicious hacker would simply sign up for the service and claims the username Screenhero as his and no verification is done by the Service Provider, besides that the DNS-setup is already correctly set.

Capture_d_e_cran_2016-05-30_a__18.29.08.png
Capture_d_e_cran_2016-05-30_a__18.29.08.png From the original on HackerOne

Scenario attack : Attacker can now build a complete clone of the real site, add a login form, redirect the user, steal credentials (e.g. admin accounts), cookies and/or completely destroy business credibility for your company along with along with injecting malicious codes to steal their sensitive cookies, redirect them to malicious web pages etc.

Mitigation : To mitigate the threat you should remove CNAME DNS records for the services you don't use anymore.

Reference: http://yassineaboukir.com/blog/neglected-dns-records-exploited-to-takeover-subdomains/

Best regards.

The original report as published on HackerOne, by yassineaboukir. 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 left pointing to a decommissioned third-party service that allows unverified username claims.

Impact

An attacker could host a clone of the real site to steal credentials and cookies, inject malicious code, or redirect users to malicious pages, damaging the company's credibility.

What the attacker needed

Dangling CNAME to inactive service; attacker can claim the username

The fix

The CNAME DNS records for services no longer in use 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 'feedback' added to a main domain. A CNAME record is a DNS entry that says 'this name is an alias for that other name'. Here the alias pointed to a third-party service that no longer existed, so anyone could register that name on the service and control what the subdomain showed.

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 Yassine Aboukir

View all

3 more disclosed reports, best first.

More from Slack

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.