Menu

The Bucket You Deleted is Still in Your DNS: S3 Bucket Takeover at Bime
πŸ“°
0

The Bucket You Deleted is Still in Your DNS: S3 Bucket Takeover at Bime

DEV CommunityΒ·Bala ParanjΒ·about 1 month ago
#5VZJ2Hwg
#why#aws#cybersecurity#bucket#bime#cname
Reading 0:00
15s threshold

In 2016, a researcher found that a2.bime.io had a CNAME record pointing to bimeio.s3.amazonaws.com . The bucket bimeio did not exist. It was not owned by Bime. It was not owned by anyone. The researcher created the bucket in their own AWS account. a2.bime.io was now serving their content β€” under Bime's domain, with Bime's SSL certificate, trusted by Bime's users. This is HackerOne #121461 . The fix was either claiming the bucket name or deleting the CNAME. Either takes under a minute. The window between bucket deleted and researcher claimed it was measured in days. Why This Attack Requires Nothing S3 bucket names are globally unique across all AWS accounts. When a bucket is deleted, the name becomes available to any AWS account immediately. If a DNS CNAME still points to that bucket's S3 endpoint, whoever registers the name first controls what the DNS record resolves to.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More