Overview

FieldValue
ID1101
NameRead CSIStorageCapacities (Namespace Storage Reconnaissance)
Risk CategoryInformation Disclosure
Risk LevelLow
Role TypeRole
API Groupsstorage.k8s.io
Resourcescsistoragecapacities
Verbsget, list, watch
TagsInformationDisclosure Reconnaissance StorageDetailsDisclosure

Description

Allows reading CSIStorageCapacity objects, usually within a namespace. These objects provide information about the storage capacity available through CSI drivers for specific storage classes. This can help attackers understand storage limits and potentially identify underutilized or overallocated storage.

Abuse Scenarios

  1. List all CSIStorageCapacity objects in a specific namespace.
kubectl get csistoragecapacities -n <namespace>
# Example: kubectl get csistoragecapacities -n default
  1. Get the YAML definition of a specific CSIStorageCapacity.
kubectl get csistoragecapacity <csistoragecapacity-name> -n <namespace> -o yaml
# Example: kubectl get csistoragecapacity my-storage-capacity -n default -o yaml