Possible Subdomain Takeover For Inbound Emails
The subdomain email.smule.com has a DNS CNAME record pointing to sendgrid.net, and the reporter claims an attacker could register that subdomain on SendGrid to take it over. This could allow the attacker to intercept or control inbound emails for that subdomain.
- Triaged in 4 days
- Fixed in 18 days
- Disclosed after 48 days
Hello Smule Security Team, I'm cryptic_, I have identified that the affected url points to sendgrid.net, via a DNS CNAME record. As a result of this an attacker could potentially initate a subdomain take over by registering the subdomain email.smule.com on sendgrid and consiquently leverage this for further attacks. Additionally it has been noted that sendgrid is a service for email marketing so theoretically should an attacker be able to gain access to the subdomain they could potentially gain access to emails too.
Affected URL
email.smule.com
Steps To Reproduce:
- Go to email.smule.com
- You will see 404 Not Found
- Use this command to see the CNAME Record - dig
Risk Breakdown
Risk: Medium Difficulty to Exploit: Medium Authentication: None
Recommended Fix
Check your DNS-configuration for subdomains pointing to services not in use. Set up your external service so it fully listens to your wildcard DNS.
Reference
https://www.hackerone.com/blog/Guide-Subdomain-Takeovers http://blog.pentestnepal.tech/post/149985438982/reading-ubers-internal-emails-uber-bug-bounty https://hackerone.com/reports/166826 https://hackerone.com/reports/403822
Impact
A way to take over subdomain for inbound emails. An attacker can simply register to sendgrid and takeover this subdomain.
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 CNAME record pointing to a third-party service (SendGrid) that no longer reserves the subdomain, allowing anyone to claim it.
Impact
An attacker could potentially take over the subdomain for inbound emails by registering it on SendGrid, which may allow them to access emails.
What the attacker needed
SendGrid account; Ability to register the subdomain on SendGrid
The fix
The DNS configuration should be checked for subdomains pointing to unused services, and the external service should be set up to fully listen to the wildcard DNS.
How it was found
- Visit email.smule.com and observe a 404 Not Found response.
- Use a DNS lookup tool to see the CNAME record pointing to sendgrid.net.
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 CNAME record is a DNS entry that points one domain name to another. Here, email.smule.com points to sendgrid.net, a third-party email service. If that service lets anyone claim the name, an attacker could register it and control email sent to that address.
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.