Description

StackGres Operator

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
stackgres-operatordefault891Critical
stackgres-restapidefault52Critical
stackgres-operator-initdefault04

Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.


Identities

🤖 stackgres-operator

Namespace: default  |  Automount:

🔑 Permissions (89)

RoleResourceVerbsRiskTags
ClusterRole stackgres-operatorcore/configmapscreate · delete · get · list · patch · update · watchCriticalConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation Tampering
ClusterRole stackgres-operatorbatch/cronjobscreate · delete · get · list · patch · update · watchCriticalPersistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole stackgres-operatorcore/endpointscreate · delete · get · list · patch · update · watchCriticalDenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection
ClusterRole stackgres-operatorbatch/jobscreate · delete · get · list · patch · update · watchCriticalPotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole stackgres-operatorcore/podscreate · delete · get · list · patch · update · watchCriticalLateralMovement Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering (+1 more)
ClusterRole stackgres-operatorcore/pods/execcreate · delete · get · list · patch · update · watchCriticalClusterWidePodExec CodeExecution ElevationOfPrivilege LateralMovement PodExec (+1 more)
ClusterRole stackgres-operatorcore/secretscreate · delete · get · list · patch · update · watchCriticalClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure Persistence (+4 more)
ClusterRole stackgres-operatorcore/servicescreate · delete · get · list · patch · update · watchCriticalDenialOfService NetworkManipulation ServiceExposure Tampering
ClusterRole stackgres-operatorapps/statefulsetscreate · delete · get · list · patch · update · watchCriticalPersistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole stackgres-operatorcore/namespacescreate · delete · get · list · patch · update · watchHighClusterStructure DenialOfService InformationDisclosure NamespaceLifecycle Reconnaissance (+1 more)
ClusterRole stackgres-operatorrbac.authorization.k8s.io/rolebindingscreate · delete · get · list · patch · update · watchHighBindingToPrivilegedRole InformationDisclosure PrivilegeEscalation RBACManipulation RBACQuery (+1 more)
ClusterRole stackgres-operatorrbac.authorization.k8s.io/rolescreate · delete · get · list · patch · update · watchHighInformationDisclosure PrivilegeEscalation RBACManipulation RBACQuery Reconnaissance
ClusterRole stackgres-operatorcore/serviceaccountscreate · delete · get · list · patch · update · watchHighIdentityManagement PotentialPrivilegeEscalation Tampering
ClusterRole stackgres-operatorcore/eventscreate · delete · get · list · patch · update · watchMediumInformationDisclosure OperationalData Reconnaissance
ClusterRole stackgres-operatorapps/configmapscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/configmapscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/configmapscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/configmapscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/cronjobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/cronjobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/cronjobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/cronjobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitionsget · list · watchLow
ClusterRole stackgres-operatorcustomresourcedefinitions.apiextensions.k8s.io/customresourcedefinitionsget · list · watchLow
ClusterRole stackgres-operatorapps/endpointscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/endpointscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/endpointscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/endpointscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/eventscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/eventscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/eventscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/eventscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/jobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/jobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/jobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/jobscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/namespacescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/namespacescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/namespacescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/namespacescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/persistentvolumeclaimscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/persistentvolumeclaimscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/persistentvolumeclaimscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/persistentvolumeclaimscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/persistentvolumeclaimscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatormonitoring.coreos.com/podmonitorsget · listLow
ClusterRole stackgres-operatorapps/podscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/podscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/podscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/podscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/pods/execcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/pods/execcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/pods/execcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/pods/execcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatormonitoring.coreos.com/prometheusget · listLow
ClusterRole stackgres-operatormonitoring.coreos.com/prometheusesget · listLow
ClusterRole stackgres-operatorapps/rolebindingscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/rolebindingscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/rolebindingscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/rolebindingscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/rolescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/rolescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/rolescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/rolescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/secretscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/secretscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/secretscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/secretscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/serviceaccountscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/serviceaccountscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/serviceaccountscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/serviceaccountscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatormonitoring.coreos.com/servicemonitorscreate · delete · get · list · patch · updateLow
ClusterRole stackgres-operatorapps/servicescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/servicescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/servicescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/servicescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgbackupconfigscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgbackupscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgclusterscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgdistributedlogscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sginstanceprofilescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgpgconfigscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgpoolconfigscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/statefulsetscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/statefulsetscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/statefulsetscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/statefulsetscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstorage.k8s.io/storageclassesget · listLow

⚠️ Potential Abuse (33)

The following security risks were found based on the above permissions:

📦 Workloads (1)

KindNameContainerImage
Deploymentstackgres-operatorstackgres-operatorstackgres/operator:0.9.5

🤖 stackgres-restapi

Namespace: default  |  Automount:

🔑 Permissions (5)

RoleResourceVerbsRiskTags
ClusterRole stackgres-restapicore/groupsimpersonateCriticalClusterAdminAccess Impersonation PrivilegeEscalation Spoofing
ClusterRole stackgres-restapicore/usersimpersonateCriticalClusterAdminAccess Impersonation PrivilegeEscalation Spoofing
ClusterRole stackgres-restapiauthorization.k8s.io/subjectaccessreviewscreateMediumInformationDisclosure RBACQuery
ClusterRole stackgres-restapicore/secretsget · listLow
ClusterRole stackgres-restapicore/serviceaccountimpersonateLow

⚠️ Potential Abuse (3)

The following security risks were found based on the above permissions:

📦 Workloads (2)

KindNameContainerImage
Deploymentstackgres-restapistackgres-adminuistackgres/admin-ui:0.9.5
Deploymentstackgres-restapistackgres-restapistackgres/restapi:0.9.5

🤖 stackgres-operator-init

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (4)

KindNameContainerImage
Jobstackgres-operator-bootstrapstackgres-operator-bootstrapbitnami/kubectl:1.18.3
Jobstackgres-operator-create-certificatestackgres-operator-create-certificatebitnami/kubectl:1.18.3
Jobstackgres-operator-upgradestackgres-operator-upgradebitnami/kubectl:1.18.3
Jobstackgres-operator-waitstackgres-operator-waitbitnami/kubectl:1.18.3