AWS Urges Devs To Scrub Secret Keys From GitHub
An anonymous reader writes "GitHub contains thousands of 'secret keys', which are stored in plain text and can be used by miscreants to access AWS accounts and either run up huge bills or even delete/damage the users files. Amazon is urging users of the coding community site to clean up their act."
The Government should only allow organized criminals and the Government to have guns. Everything else is simply too dangerous. Too Undemocratic.
The G has done gotten all them doggies.
If the problem is as widespread as TFA suggests, an article/post/urging by Amazon risks simply triggering the Streisand effect (I was tempted to do a search myself after reading the article).
Then again, I'm not sure what else they could have done.
Tie two birds together: although they have four wings, they cannot fly. (The blind man)
If there is a direct link to be discerned from a Github user to an AWS stack then surely that user should simply be banned and then made to fix their crap before being allowed back on. Back in the 'old days' if the sysadmins on a system I was leasing time off could show that through my action or inaction one of their servers (even my virtual instance) was leaky they wouldn't flinch from shutting my crap down if I didn't comply straight away - and as far as I'm concerned they are quite within their rights to do it.
Run it, log it and you too will see a lot of aws
54.193.36.150
54.193.50.3
54.193.73.95
54.193.95.230
54.194.121.137
54.194.145.249
54.194.178.152
54.194.198.11
54.194.198.139
Wont bore you further, not sure informing abuse at amazon does anything though
I don't mean to be negative, but if there is a known vulnerability out there, advertising it publicly is just going to be a banner for the criminals and script kiddies to go cause damage. It seems as though Amazon have scored an utterly stupid own goal here...
and be required to wear a head set that actually sees everything you do and cant be removed except to shower where also a camera the nsa has to peek at you is maintained...all at your cost
Wow Really very useful information.
Thanks a lot for sharing it with us. I will look forward to read more from you. Could I share this information on my site.Web Designing in Chennai
Many web services require developers to get keys for their applications. Open source applications cannot provide users with working apps without disclosing the keys.
Check out my cross-platform apps
AWS Urges Devs To Scrub Secret Keys From GitHub
I urge them to scrub my bollocks with a stiff brush
Beta ate my comment.
The summary tries to make it sound like it's Github's - or even Amazon's - fault.
If you're stupid enough to store credentials that allow access to pay-for goods in your name, and to then blindly upload them to a public service, I have little sympathy.
No more than people who upload their SSH keys, or hard-code their credentials into their code in the first place, or those who put the contents of their passwd/shadow/htpasswd file into a public arena. All of which we've had articles about people doing - and others finding via Google or just a quick inspection of certain projects. I'm sure there was even one with a Steam API key of some kind once.
Sure, it's easy to do if you're not paying attention - especially if you blindly upload a ton of hidden files (Why? Quite what hidden files do you need to upload to a public third-party version-management service? Yes, I've svn'd or bzr'd my /etc/ in the past for basic rollback functionality, but when you press commit to a public service, are you not checking WHAT files are going up and/or excluding hidden files by default anyway?)
Sorry, but for such projects Amazon shouldn't warn them, they should just block those credentials. It's a quick, easy lesson in how to manage your access to a third-party resource, and the hassle of having to redo your account verification should be enough of a kick up the bum to get you to never do it again.
And those people who were billed? Sorry, it's like asking the credit card company to refund you after you post your credit card number in a forum - sure, they might do it, but they are not obligated to as you breached the contract by failing to ensure the security of those details in the first place (proving it was your fault can actually make the credit card company not liable for it, even with "credit card protection" in law - it's just that proving it is usually more hassle than just paying it). The resources were consumed, by someone with your valid credentials. Your problem.
these "developers" are making huge rookie mistakes. Honestly you are not a developer if you make that huge of a mistake. I can see hardcoding a key, but the version you put publicly is set to not function until someone changes it. cripes less than 3 lines of freaking code in nearly any language will make your release puke with "change the default key moron, did you not READ the README?"
Best solution, auto generate a key with the install script. Sadly most developers are too freaking lazy to write an install script.
Do not look at laser with remaining good eye.
Not if each developer key costs a recurring fee. For example, Amazon Marketplace Web Service requires both the developer of the application and the seller using the application to be current on a $480/yr subscription. Not sure about the rest of AWS though.
In related news...
Google suggests you don't post your username & password to GitHub.
The locksmith's union suggests you don't tape your key to your front door.
The TSA suggests you don't write your combination on your luggage.
People aren't putting their secret keys into code _just_ because they are dumb, it's also by far the simplest way to write code that uses amazon services from inside ec2. There are other (not particularly complicated and very secure) ways to do it, but amazon should probably look into making those so dead-simple no one would even think of using something else.
Ze Atomic Device! It iz Ztolen!
> the users files
Um, that should be "the user's files".
users = more than one user
How the poster can have problems with the difference between possessive and plural and still be allowed to use a computer is beyond me. Aren't you supposed to learn fourth grade English before you get to college?
- Zav - Imagine a Beowulf cluster of insensitive clods...
What else could Amazon have done? Terminate their accounts immediately. These people violated the TOS by publishing their secret key.
Amazon should assign a junior engineer to personally be responsible to search/scrape the web for leaked keys, and privately contact the owners of those accounts. That would make for good PR.
When posting screenshots containing secret keys, just remove a large part of it. Don't use blur or swirl like filters, these can be reversed quite well.
The blurred key posted by itnews is pretty much reversible with the naked eye.
Then you shouldn't be collecting personally identifying information from them in the first place without verifiable parental consent.
Aren't you supposed to learn fourth grade English before you get to college?
English is not necessarily required if you go to college somewhere other than the United States, Canada, Great Britain, Ireland, Australia, New Zealand, South Africa, or India.
Bull ! Aws has a bad problem with billing because you can't terminate instances until you delete what the instance is running. It re starts after you terminate CRAZY
English is not necessarily required if you go to college somewhere other than [Britain or one of its ex-colonies].
How can people be allowed in if they don't show a basic competence with the very basics of the language they are supposed to converse in?
In countries whose official language is not English, conversing in English is not necessarily required. For example, universities in France likely conduct classes in French.