Overview

FieldValue
ID1088
NameRead ResourceQuotas (Namespace Information Disclosure)
Risk CategoryInformation Disclosure
Risk LevelLow
Role TypeRole
API Groupscore
Resourcesresourcequotas
Risky Verb Combinations[get, list, watch] · [list, watch]
TagsInformationDisclosure QuotaTampering Reconnaissance ResourceConfiguration

Description

Allows reading ResourceQuota objects within a namespace. This reveals configured resource limits for the namespace, aiding attackers in understanding constraints and potentially tailoring resource exhaustion or identifying high-value namespaces.

Abuse Scenarios

  1. List all ResourceQuotas in a specific namespace.
kubectl get resourcequotas -n <namespace>
# Example: kubectl get resourcequotas -n production
  1. Get the YAML definition of a specific ResourceQuota.
kubectl get resourcequota <resourcequota-name> -n <namespace> -o yaml
# Example: kubectl get resourcequota compute-resources -n production -o yaml