Live data from Hacker News

How to find the AWS account ID of any S3 bucket

tracebit.com

221–227 of 227 posts

Re: How to find the AWS account ID of any S3 bucket

#221
post #199

Earlier quoted context omitted.

Figma did this for design-dev and is worth about $40 billion. It's amazing how anything got made considering how disjointed processes used to be.

Only worth about 10 billion. But still a lot!

The deal was for $20b my mistake.

Re: How to find the AWS account ID of any S3 bucket

#222
post #67
post #45

aws s3 bucket needs to match the domain for website hosting. let's say if apple uses s3, they need to create bucket name "apple.com", and then we can find what aws account which apple is using.

Not exactly - they Can do that, but they don't need to match - using cloudfront in front of your s3 website and then the site can be served from any bucket or folder within a bucket. I have dozens of s3 static websites served from a single s3 bucket, all with unique top-level domains, each in its own folder within that single bucket - much easier this way. Given anyone can create a bucket with any name (if its not al…

ah thanks. iirc it used to be like that ( when use without cloudfront).

Re: How to find the AWS account ID of any S3 bucket

#223
post #45

aws s3 bucket needs to match the domain for website hosting. let's say if apple uses s3, they need to create bucket name "apple.com", and then we can find what aws account which apple is using.

That is not how s3 buckets work.

it used to be like that (without cloudfront)

https://docs.aws.amazon.com/AmazonS3/latest/userguide/websit...

Re: How to find the AWS account ID of any S3 bucket

#224

Earlier quoted context omitted.

Doubt they use their real information on their AWS accounts.

Just need enough information to send to either Amazon or the FBI.

Pretty sure AWS always could look up the info of an account if a bucket was used for crimes. Adding the name of a fake account probably doesnt add anything for them.

Re: How to find the AWS account ID of any S3 bucket

#225
Account IDs are 12 digit random numbers. They are used to identify an AWS account, that's all. Knowledge of the full 12 digits doesn't grant access to anything, prove you own the account, or enable you to authenticate to any systems (or individuals like in customer service for example) in AWS.

They are visible when ever you share something with another AWS account, they're in the ARN. For example, the 12 digit account IDs of all a vendors that vend AMIs, assume roles on AWS accounts (think datadog, for logging / metrics) or otherwise provide services have AWS Account IDs that are well known and easily discoverable. This s3 example is just sort of interesting since its one of the handful of AWS services that don't use account IDs in ARNs.

AWS account ids are not secrets and treating them as secrets or giving the impression that they are anything other than public data is a distraction from real security concerns.

Re: How to find the AWS account ID of any S3 bucket

#226
post #91

Earlier quoted context omitted.

It says he consulted but does not say what was their answer. I can't imagine it was a thumbs up, probably an embarrassed silence?

They can fix the bug if they don't like it.

This is my attitude towards security disclosures. In this case, Amazon approved the disclosure. But even if they hadn't, it's better for the good guys and bad guys to know about problems when the alternative is only the bad guys knowing (or the bad guys and a few good guys at the affected company).

Re: How to find the AWS account ID of any S3 bucket

#227
post #199

Earlier quoted context omitted.

Only worth about 10 billion. But still a lot!

The deal was for $20b my mistake.

The Adobe deal didn't go through. Last publicly hinted valuation was back at ~$10B when employee share buyouts happened in JAN 2024.
Post reply on HN