subdomain takeover at news-static.semrush.com
A Semrush subdomain was configured with a CNAME pointing to Amazon S3, but no bucket with that name existed, so anyone could register the bucket and serve their own content on the subdomain. An attacker could then host phishing pages, malware or scripts that run in the context of the parent domain.
- Triaged in 3 days
- Fixed in 3 days
- Paid in 10 days
- Disclosed after 40 days
Summary: The subdomain news-static.semrush.com can be taken over by attackers and abuse it for further attacks (Phishing, XSS Cross origin, malware, etc..).
Description: The subdomain news-static.semrush.com was pointed using CNAME to Amazon S3, but no bucket with that name was registered. This meant that anyone could sign up for Amazon S3, claim the bucket as their own and then serve content on news-static.semrush.com
Browsers Verified In:
- Google Chrome v62.0.3202.94
- FireFox ESR v52.5.0
Steps To Reproduce:
- Open AWS account
- Create s3 bucket and claim the subdomain news-static.semrush.com
- upload poc.html file to the bucket
Supporting Material/References:
$ dig A news-static.semrush.com @8.8.8.8
; <<>> DiG 9.8.3-P1 <<>> A news-static.semrush.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35678
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;news-static.semrush.com. IN A
;; ANSWER SECTION:
news-static.semrush.com. 59 IN CNAME s3.amazonaws.com.
s3.amazonaws.com. 3459 IN CNAME s3-1.amazonaws.com.
s3-1.amazonaws.com. 4 IN A 52.216.21.165
POC http://news-static.semrush.com/POC_2313521212.html
This means that nobody else can claim the bucket and add content.
Mitigation/Fix I have claimed the bucket on my account so no one can claimed it before I release it. Remove the news-static.semrush.com DNS entry. Alternatively, if you wish to use news-static.semrush.com with S3, tell me in a comment and I will remove the bucket from my Amazon account.
Impact
The attacker will own the subdomain and can do whatever he want with it, such as Phishing, XSS that can affect all *.semrush.com to bypass cross origin policy and upload malwares. etc..
Attachments

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: the subdomain's CNAME still pointed at an S3 endpoint after the corresponding bucket was deleted or never created.
Impact
The attacker controls content on the subdomain and could use it for phishing, malware hosting, or scripts that bypass cross-origin protections for other semrush.com subdomains.
What the attacker needed
A free AWS account; the dangling CNAME still resolves
The fix
The DNS entry for the subdomain should be removed, or the bucket should be properly registered and kept under the organisation's control.
How it was found
- Create an Amazon Web Services account.
- Create an S3 bucket whose name matches the subdomain, claiming it.
- Upload a proof-of-concept HTML file to the bucket so it is served on 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 company can point one of its web addresses at a cloud storage service so files are served from there. If the matching storage space is never created, a stranger can create it first and put their own files at that address. Visitors would see the company's real domain name, which makes fake login pages or malicious downloads look trustworthy.
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.