Description

StackGres Operator

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
stackgres-operatordefault1031Critical
stackgres-restapidefault52Critical
stackgres-operator-initdefault07

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


Identities

🤖 stackgres-operator

Namespace: default  |  Automount:

🔑 Permissions (103)

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-operatorcore/pods/logcreate · delete · get · list · patch · update · watchHighClusterWideLogAccess DataExposure InformationDisclosure LogAccess
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-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/endpoints/restrictedcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/endpoints/restrictedcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/endpoints/restrictedcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/endpoints/restrictedcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/endpoints/restrictedcreate · 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/podmonitorscreate · delete · get · list · patch · updateLow
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-operatorapps/pods/logcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/pods/logcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/pods/logcreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/pods/logcreate · 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/sgclusters/statusupdateLow
ClusterRole stackgres-operatorstackgres.io/sgdbopscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgdistributedlogscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgdistributedlogs/statusupdateLow
ClusterRole stackgres-operatorstackgres.io/sginstanceprofilescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgobjectstoragescreate · 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-operatorstackgres.io/sgscriptscreate · 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 (35)

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

📦 Workloads (1)

KindNameContainerImage
Deploymentstackgres-operatorstackgres-operatorstackgres/operator:1.4.3

🤖 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:1.4.3
Deploymentstackgres-restapistackgres-restapistackgres/restapi:1.4.3

🤖 stackgres-operator-init

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (7)

KindNameContainerImage
Jobstackgres-operator-conversion-webhooksconversion-webhooksstackgres/jobs:1.4.3
Jobstackgres-operator-cr-updaterstackgres-jobsstackgres/jobs:1.4.3
Jobstackgres-operator-crd-upgradecrd-upgradestackgres/jobs:1.4.3
Jobstackgres-operator-create-certificatecreate-certificateongres/kubectl:v1.19.16-build-6.19
Jobstackgres-operator-set-crd-versionset-crd-versionongres/kubectl:v1.19.16-build-6.19
Jobstackgres-operator-waitstackgres-operator-waitongres/kubectl:v1.19.16-build-6.19
Jobstackgres-operator-wait-webhooksstackgres-operator-wait-webhooksongres/kubectl:v1.19.16-build-6.19