Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
1–10 of 162 posts
Re: Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
#2Re: Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
#3English is not my main language, but "broke into" doesn't implicate "breaking" something to get "into" something?
Re: Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
#4Re: Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
#5Re: Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
#6English is not my main language, but "broke into" doesn't implicate "breaking" something to get "into" something?
It isn't necessary to actually "break" anything.
Edit: Of course, it's still not a great metaphor because it implies there was at least some kind of barrier to entry that had to be pushed aside - but from the sounds of it, there wasn't.
Re: Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
#7A common S3 use case is: Use a Bucket for Read-only static content, (js, html, imgs). From a dev perspective ideally it will work like a protected folder + Web Server, whereas the webserver will have read-only privileges, but reality is far more complicated.
I can understand why was easy for Twillio to have this infosec issue, since we've done it ourselves many times when using S3.
Re: Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
#8S3 security is a pain. S3 options are tricky to master, docs are beyond confusing. A common S3 use case is: Use a Bucket for Read-only static content, (js, html, imgs). From a dev perspective ideally it will work like a protected folder + Web Server, whereas the webserver will have read-only privileges, but reality is far more complicated. I can understand why was easy for Twillio to have this infosec issue, since we…
If it’s cross account then allow assuming to other accounts, but no reason to bother with the bucket ACL.
Leave the bucket policy blank and you’ll never have to worry about an open bucket. Better yet make a deny rule to everything but a single role, and you don’t have to worry about rogue roles exposing the bucket.
Perhaps some of the issue is that permission can be managed on both IAM and a bucket policy?