So - there has to be some trust to the client, unless the resource is public (or locked down with end-user creds). In this case, some kind of creds need to go into the app, right? So the best practise is simply to make those some creds which: 1) have limited privileges (e.g. just access one S3 bucket) and 2) can be centrally revoked (requiring app update for everyone?) I've read the link on the amazon Token Vending M…
Critical Vulnerability: AWS Credential Disclosure
31–40 of 45 posts
Re: Critical Vulnerability: AWS Credential Disclosure
#32If you use Chef, at Balanced ( https://github.com/balanced ), we've built a pretty awesome tool called: "Citadel" ( https://github.com/balanced-cookbooks/citadel ) that uses IAM policies for fetching secrets securely stored in S3 buckets. It's pretty awesome. We're porting all of our code to use this, so we can open source most of our code freely and not have to necessary find ourselves working around security hurdle…
Cool. I'm curious: what was your motivation for doing this rather than using Chef's encrypted data bags? Is it because it's tightly integrated with IAM? If that's the case, does that mean you guys use a cookbook that tightly couples system users with IAM roles?
He was employed previously at Opscode, now Chef Inc.
Re: Critical Vulnerability: AWS Credential Disclosure
#33Re: Critical Vulnerability: AWS Credential Disclosure
#34In my company we have an application that stores an API key in its local storage. This API key is generated by the client app when it's first run and it's individual. If it gets stolen only that client will have its security compromised. That happened to us a couple of times, always on rooted android phones with pirated software installed. I'm a heavy AWS user but not too familiar with S3 keys, couldn't the keys be g…
Re: Critical Vulnerability: AWS Credential Disclosure
#35There was a Blog-post on HN 10 days ago, showing Amazon is actively scanning for this and warns developers. https://news.ycombinator.com/item?id=7491272 it also predates this blog post
Re: Critical Vulnerability: AWS Credential Disclosure
#36I don't mean to downplay the severity of this, and I could be missing something, but I fail to see how this is a new vulnerability that TrustLook has "discovered". We've seen countless stories on HN (unless I'm wildly misremembering) of credentials being leaked via client-side applications, including AWS credentials. Haven't developers been getting this wrong since the dawn of client-server authentication?
This does seem like a PR department writing rather then security researcher. Calling out AWS credentials seems to be particularly trolling, they just happen to be the secrets that were easiest to grep for I guess.
According to their "About Us" page, however, they are "a global leader in next-generation mobile security solutions." That's pretty remarkable to me considering the company was "founded in 2013" -- not bad for a year or so's work.
But I suppose that's easy to do when your "team consists of security industry veterans" (that shall go unnamed, it seems).
Maybe next week they'll reveal how my home is vulnerable to being broken into by a burglar armed with a battering ram.
Re: Critical Vulnerability: AWS Credential Disclosure
#37my god. This is huge! Imagine what hackers can do with this full control of AWS.
Re: Critical Vulnerability: AWS Credential Disclosure
#38I'm not even sure this should be filed under vulnerability. How is this any different from embedding credentials on a webpage so that JavaScript can talk directly with the service lol.
Re: Critical Vulnerability: AWS Credential Disclosure
#39Re: Critical Vulnerability: AWS Credential Disclosure
#40One more example I'll use next time someone asks me "why service oriented architecture". Interaction with AWS should be wrapped in an app service. So the keys will be on your server. Your web sites or apps talk with that service, not the underlying implementation behind it (i.e. AWS). The API exposed by your app service should be secure by default. Sometimes some of those apps start as web sites, and they keep a lot…