1 Service Accounts
1 Workloads
30 Bindings
5 Critical
9 High
2 Medium
14 Low
Description
KubeVault Operator by AppsCode - HashiCorp Vault operator for Kubernetes
Overview
| Identity | Namespace | Automount | Secrets | Permissions | Workloads | Risk |
|---|---|---|---|---|---|---|
kubevault-operator | default | ❌ | — | 30 | 2 | Critical |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 kubevault-operator
Namespace: default | Automount: ❌
🔑 Permissions (30)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole kubevault-operator | rbac.authorization.k8s.io/clusterrolebindings | create · delete · get · patch · update | Critical | BindingToPrivilegedRole ClusterAdminAccess PrivilegeEscalation RBACManipulation |
ClusterRole kubevault-operator | rbac.authorization.k8s.io/clusterroles | create · delete · get · patch · update | Critical | ClusterAdminAccess PrivilegeEscalation RBACManipulation |
ClusterRole kubevault-operator | apiextensions.k8s.io/customresourcedefinitions | * | Critical | CRDManipulation ClusterWideAccess PotentialPrivilegeEscalation Tampering |
ClusterRole kubevault-operator | core/pods | create · get · list | Critical | LateralMovement Persistence PotentialPrivilegeEscalation PrivilegeEscalation WorkloadExecution |
ClusterRole kubevault-operator | core/pods/exec | create · get · list | Critical | ClusterWidePodExec CodeExecution ElevationOfPrivilege LateralMovement PodExec (+1 more) |
ClusterRole kubevault-operator | appcatalog.appscode.com/* | * | High | ClusterWideAccess |
ClusterRole kubevault-operator | catalog.kubevault.com/* | * | High | ClusterWideAccess |
ClusterRole kubevault-operator | engine.kubevault.com/* | * | High | ClusterWideAccess |
ClusterRole kubevault-operator | kubevault.com/* | * | High | ClusterWideAccess |
ClusterRole kubevault-operator | policy.kubevault.com/* | * | High | ClusterWideAccess |
ClusterRole kubevault-operator | core/configmaps | create · get · list · patch · watch | High | ConfigMapAccess DataExposure InformationDisclosure |
ClusterRole kubevault-operator | rbac.authorization.k8s.io/rolebindings | create · delete · get · patch · update | High | BindingToPrivilegedRole PrivilegeEscalation RBACManipulation |
ClusterRole kubevault-operator | rbac.authorization.k8s.io/roles | create · delete · get · patch · update | High | PrivilegeEscalation RBACManipulation |
ClusterRole kubevault-operator | monitoring.coreos.com/servicemonitors | * | High | ClusterWideAccess |
ClusterRole kubevault-operator | admissionregistration.k8s.io/mutatingwebhookconfigurations | delete · list · patch · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole kubevault-operator | admissionregistration.k8s.io/validatingwebhookconfigurations | delete · list · patch · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole appscode:license-reader | apiregistration.k8s.io/apiservices | get | Low | |
ClusterRole kubevault-operator | apiregistration.k8s.io/apiservices | delete · get · patch | Low | |
ClusterRole appscode:license-checker | apps/deployments | get | Low | |
ClusterRole appscode:license-checker | core/events | create · get · list · patch | Low | |
ClusterRole kubevault-operator | core/events | create | Low | |
ClusterRole appscode:license-checker | core/namespaces | get | Low | |
ClusterRole kubevault-operator | core/nodes | list | Low | |
ClusterRole kubevault-operator | core/persistentvolumeclaims | create · get · list · patch | Low | |
ClusterRole appscode:license-checker | core/pods | get | Low | |
ClusterRole appscode:license-checker | apps/replicasets | get | Low | |
ClusterRole kubevault-operator | core/secrets | create · delete · get · list · patch | Low | |
ClusterRole kubevault-operator | core/serviceaccounts | create · get · patch | Low | |
ClusterRole kubevault-operator | core/services | create · delete · get · list · patch | Low | |
ClusterRole kubevault-operator | apps/statefulsets | create · delete · get · list · patch · watch | Low |
⚠️ Potential Abuse (15)
The following security risks were found based on the above permissions:
- Cluster-wide pod exec
- Namespaced pod exec
- Create pods cluster-wide
- Create pods in a namespace
- Read ConfigMaps cluster-wide
- Read ConfigMaps in a namespace
- Manage ClusterRoles (create, update, patch, delete)
- Manage ClusterRoleBindings (create, update, patch, delete)
- Manage Roles in a namespace (create, update, patch, delete)
- Manage RoleBindings in a namespace (create, update, patch, delete)
- Manage CustomResourceDefinitions
- List ValidatingWebhookConfigurations (Reconnaissance)
- List MutatingWebhookConfigurations (Reconnaissance)
📦 Workloads (2)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | kubevault-operator | operator | kubevault/vault-operator:v0.5.0 |
| Job | kubevault-operator-cleaner | kubectl | appscode/kubectl:v1.16 |