Skip to content
Subdomain takeover Disclosed report Intermediate

Domain takeover (legalrobot.co.za)

An AWS S3 bucket used for redirecting the legalrobot.co.za domain was left unassigned after decommissioning. An attacker could claim the bucket name and region to control the domain, but CloudFlare redirect rules already in place prevented this.

todayisnew Follow

Originally disclosed on HackerOne

  • Triaged in 27 hours
  • Fixed in 55 days
  • Paid in 55 days
  • Disclosed after 57 days

Summary by the program

A security researcher discovered that an AWS S3 bucket was left unassigned after decommissioning. The bucket was previously used as a redirect to our main domain, legalrobot.com. If not for CloudFlare redirect rules already in place, the unused bucket could have allowed anyone that created an S3 bucket with the correct name and region to control the legalrobot.co.za domain.

The original report as published on HackerOne, by todayisnew. 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 the S3 bucket was decommissioned and left unassigned while still referenced by the domain.

Impact

An attacker could have controlled the legalrobot.co.za domain by creating an S3 bucket with the correct name and region, but CloudFlare redirect rules already in place prevented this.

What the attacker needed

Knowledge of the bucket name and region; ability to create an S3 bucket

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.

When a website uses a cloud storage bucket (like an AWS S3 bucket) to serve content or redirect traffic, the bucket name must be unique. If the bucket is deleted but the domain still points to it, someone else can create a bucket with the same name and take over that domain. Here, CloudFlare redirect rules were already in place, so the takeover was not possible.

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 todayisnew

View all

12 more disclosed reports, best first.

More from Legal Robot

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.