What happened

On 2025/05/20, we received a couple of emails from Google re: users being added to Google Search Console.

GSC-email.png

After seeing the mail, Bruce sent an inquiry to the team about it and Nick responded with indication that it appeared that the site had been taken over. I looked at the DNS on GoDaddy, confirmed that the record was still pointing to the bucket, and on AWS that the bucket was indeed deleted (Bruce, Marco and I deleted as part of SAGL-78 last week).

follow-up-emails.png

Remediation (PLFM-8997)

I deleted the DNS record, which essentially moves the problem off the ‘sagebase.org’ domain.

xschildw@w156 deploy % dig +short versions.synapse.sagebase.org
xschildw@w156 deploy %

Nick and Jay mentioned we should also look at the Google Search Console. We clicked on ‘I dont know this person’ in one of the original emails above. When we looked at the ‘sagebase.org’ property, everything looked fine.
However, when adding the property ‘versions.synapse.sagebase.org’ in the left panel we did recognize the email addresses from the emails. We deleted these users from the list of users.

gsc-versions-synapse-sagebase-org.png

Analysis

The incident is an instance of a known problem called ‘subdomain takeover’ that can happen when leaving dangling DNS records pointing to S3 records:

What to do to prevent this