this post was submitted on 30 Apr 2024
185 points (98.9% liked)

Programming

17313 readers
256 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 112 points 6 months ago (1 children)

“By design” AWS bills project owners for unauthorized calls to the public S3 API.

So what I’m reading from this is you can do a billing attack on anything hosted in AWS so long as you know one of their bucket names.

[–] [email protected] 50 points 6 months ago

Seriously, now that this is more widely known, it'll for sure be taken advantage of a lot, to the point AWS will begrudgingly protect their customers once the damage is done.

[–] [email protected] 96 points 6 months ago* (last edited 6 months ago) (1 children)

You shouldn't be charged for unauthorized requests to your buckets. Currently if you know any person's bucket name, which is easily discoverable if you know what you're doing, that means you can maliciously rack up their bill just to hurt them financially by spamming it with anonymous requests.

[–] NegativeLookBehind 35 points 6 months ago (1 children)
[–] [email protected] 28 points 6 months ago (1 children)

lol dude, I’ve known several people who have worked at AWS for years, and the amount of duct tape and bailing wire Mickey Mouse shit that I’ve heard goes on there just… does not inspire confidence.

[–] Sicklad 10 points 6 months ago

Yeah in my last role we were probably the biggest user of a certain storage service that was still kinda new, there were quite a few times we found bugs, features that straight up didn't work how the documentation stated, and aws sent us workaround scripts that seriously looked like an unpaid intern wrote.

I'm not sure if GCP/Azure would be much different though.

[–] [email protected] 61 points 6 months ago (2 children)
[–] [email protected] 30 points 6 months ago

That’s a rare vintage

[–] [email protected] 49 points 6 months ago (1 children)

As it turns out, one of the popular open-source tools had a default configuration to store their backups in S3. And, as a placeholder for a bucket name, they used… the same name that I used for my bucket.

[–] [email protected] 31 points 6 months ago

It's completely insane that the tool would attempt to connect to a nonexistent bucket for backups by default instead of just... having them disabled completely?

[–] sensiblepuffin 42 points 6 months ago

AWS was kind enough to cancel my S3 bill. However, they emphasized that this was done as an exception.

Dicks.

[–] [email protected] 39 points 6 months ago (1 children)

Please use scribe.rip instead of medium.com for articles

https://nomedium.dev/

[–] [email protected] 18 points 6 months ago (1 children)

A great post, interesting and to the point.

[–] [email protected] 4 points 6 months ago

I woke up yesterday morning and felt a little bit hazy. My feet tingled a little and that was an indication of what was going to happen. My podometric senses were tingling! Hahaha, get it? So anyway, after having a light breakfast and sitting down in front of my desk to check my emails, one in particular stood out. Being in a hurry however, I left for work and....

Article written like this are reason for me to stop reading. So annoying. This article is a breath of fresh air.

Anti Commercial-AI license

[–] CosmicCleric 11 points 6 months ago* (last edited 6 months ago)

Wow, makes one fearful to even use AWS. Yikes!

Definately required reading for those who use AWS.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~