701
you are viewing a single comment's thread
view the rest of the comments
[-] CosmicTurtle0@lemmy.dbzer0.com 28 points 23 hours ago

The default for net new buckets is actually very strict.

But it's that strictness that makes devs just to open it up to everyone and not learn proper IAM syntax.

The unfortunate part is that AWS made rules and privileges so nuanced and detailed that it makes people want to make everything public and deal with it "later".

[-] drspod@lemmy.ml 5 points 22 hours ago

How do people end up finding them? Don't they have random UUIDs in the URL? Or are they predictable?

[-] adespoton@lemmy.ca 5 points 22 hours ago* (last edited 21 hours ago)

All you have to do is monitor the network traffic and then scan any AWS subdomains/IPs that pop up.

[edit] this makes me think… it’s not really possible for a secure connection from all of VW’s vehicles to an S3 bucket, is it? Anyone can pull the key from any of the millions of vehicles making the connection. Then they can dump whatever they want into the bucket.

[-] CosmicTurtle0@lemmy.dbzer0.com 4 points 21 hours ago

You could secure it using an IAM user with credentials but then those credentials would be available on all vehicles.

If the vehicles had direct access to S3, maybe that's why the bucket was public? But you could also just leave it available to the public.

But if that was the design, you should sweep the bucket on a regular basis to make sure there aren't any objects over x hours old or something like that.

[-] CosmicTurtle0@lemmy.dbzer0.com 4 points 21 hours ago

Bucket names are often committed to GitHub. It used to be that bucket names could be published but ever since the blog post of the guy getting fucked by people polling his bucket due to an open source project typo made others realize that bucket names should probably be secrets.

There are bots that will just monitor all public commits to github, gitlab, etc. for AWS credentials and other strings like that. And as soon as they are found they will start to abuse them.

[-] drspod@lemmy.ml 3 points 17 hours ago

blog post of the guy getting fucked by people polling his bucket due to an open source project typo

Was it this one?: https://medium.com/@maciej.pocwierz/how-an-empty-s3-bucket-can-make-your-aws-bill-explode-934a383cb8b1

this post was submitted on 28 Dec 2024
701 points (99.9% liked)

Privacy

32506 readers
1188 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS