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

Add support for the bind RBAC verb #84

Open
raesene opened this issue Mar 24, 2021 · 0 comments
Open

Add support for the bind RBAC verb #84

raesene opened this issue Mar 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@raesene
Copy link

raesene commented Mar 24, 2021

What would you like to be added

At the moment the bind verb which is available on Kubernetes clsuter roles does not appear to be supported

kubectl-who-can bind clusterroles
Error: resolving resource: the "clusterroles" resource does not support the "bind" verb, only [create delete deletecollection get list patch update watch]

If would be good if bind was factored into the tool. Similarly to escalate, it would be good to add support for the verb in general, but also to indicate it as another path for privilege escalation.

Why is this needed

The bind verb allows principals which have access to it, to escalate their rights in a cluster to cluster-admin , as they can create new clusterrolebindings. There's a worked example of gaining cluster-admin rights via the bind verb here

@raesene raesene added the enhancement New feature or request label Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant