Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: block metadata requests missing a correct User-Agent header #212

Open
arkadiyt opened this issue May 9, 2019 · 1 comment

Comments

@arkadiyt
Copy link

arkadiyt commented May 9, 2019

Netflix wrote about this protection mechanism here (under Metadata Service Protection):
https://medium.com/netflix-techblog/netflix-information-security-preventing-credential-compromise-in-aws-41b112c15179

The idea is to block requests without a User-Agent header corresponding to the official aws-sdk clients, because in the vast majority of server side request forgery instances the attacker cannot set arbitrary request headers.

They provided a sample implementation here: https://github.com/Netflix-Skunkworks/aws-metadata-proxy
but if we're running kube2iam anyway it seems silly to run 2 metadata proxies - it would be neat if kube2iam supported this out of the box

@joshbranham
Copy link

This is something we are also interested in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants