1 Service Accounts
1 Workloads
35 Bindings
4 Critical
31 Low
Description
Kubernetes and OpenShift Backup Operator based on restic
Overview
| Identity | Namespace | Automount | Secrets | Permissions | Workloads | Risk |
|---|---|---|---|---|---|---|
k8up | default | ❌ | — | 35 | 1 | Critical |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 k8up
Namespace: default | Automount: ❌
🔑 Permissions (35)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole k8up-manager | apps/deployments | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole k8up-manager | batch/jobs | create · delete · get · list · patch · update · watch | Critical | PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole k8up-manager | core/pods | * | Critical | ClusterWideAccess LateralMovement Persistence PotentialPrivilegeEscalation PrivilegeEscalation (+3 more) |
ClusterRole k8up-manager | core/pods/exec | * | Critical | ClusterWideAccess ClusterWidePodExec CodeExecution ElevationOfPrivilege LateralMovement (+3 more) |
ClusterRole k8up-manager | k8up.io/archives | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/archives/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/archives/status | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/backups | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/backups/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/backups/status | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/checks | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/checks/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/checks/status | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/effectiveschedules | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/effectiveschedules/finalizers | update | Low | |
ClusterRole k8up-manager | core/events | create · patch | Low | |
ClusterRole k8up-manager | batch/jobs/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | batch/jobs/status | get · patch · update | Low | |
ClusterRole k8up-manager | coordination.k8s.io/leases | create · get · list · update | Low | |
ClusterRole k8up-manager | core/persistentvolumeclaims | get · list · watch | Low | |
ClusterRole k8up-manager | k8up.io/prebackuppods | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/prebackuppods/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/prebackuppods/status | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/prunes | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/prunes/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/prunes/status | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/restores | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/restores/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/restores/status | get · patch · update | Low | |
ClusterRole k8up-manager | rbac.authorization.k8s.io/rolebindings | create · delete · get · list | Low | |
ClusterRole k8up-manager | rbac.authorization.k8s.io/roles | create · delete · get · list | Low | |
ClusterRole k8up-manager | k8up.io/schedules | create · delete · get · list · patch · update · watch | Low | |
ClusterRole k8up-manager | k8up.io/schedules/finalizers | get · patch · update | Low | |
ClusterRole k8up-manager | k8up.io/schedules/status | get · patch · update | Low | |
ClusterRole k8up-manager | core/serviceaccounts | create · delete · get · list | Low |
⚠️ Potential Abuse (12)
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
- Update/Patch pods cluster-wide
- Update/Patch pods in a namespace
- Manage Deployments cluster-wide (potential for privileged pod execution)
- Manage Deployments in a namespace (potential for privileged pod execution)
- Manage Jobs cluster-wide (one-off privileged execution)
- Manage Jobs in a namespace (one-off privileged execution)
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | k8up | k8up-operator | ghcr.io/k8up-io/k8up:v2.5.2 |