Overview

FieldValue
ID1086
NameCreate SelfSubjectRulesReviews (Discover Own Permissions)
Risk CategoryInformation Disclosure
Risk LevelLow
Role TypeRole
API Groupsauthorization.k8s.io
Resourcesselfsubjectrulesreviews
Verbscreate
TagsInformationDisclosure RBACQuery Reconnaissance SelfPermissionReviewQuery

Description

Allows creating SelfSubjectRulesReview resources. This enables a user or service account to query the API server for their own permissions within a namespace, which can be used to confirm successful exploitation or to discover their own capabilities for further actions.

Abuse Scenarios

  1. List all permissions the current user/service account has in a specific namespace.
kubectl auth can-i --list -n <namespace>
# Example: kubectl auth can-i --list -n default