CyberRota Analysis
AI-GeneratedA critical vulnerability exists in the AAP Controller's HashiCorp Vault credential plugin within Kubernetes, where the kubernetes_auth() function inadvertently exposes the controller pod's service account token to an attacker-controlled URL during credential testing. This allows an authenticated attacker with credential-creation privileges to exfiltrate the token, potentially granting them full access to the Kubernetes API, including control over namespaces, pod management, and sensitive secrets. Organizations using Kubernetes with this plugin should prioritize immediate remediation to safeguard their control plane and sensitive data.
Original NVD Description
A flaw was found in the AAP Controller's HashiCorp Vault credential plugin. The kubernetes_auth() function in awx_plugins/credentials/hashivault.py reads the controller pod's Kubernetes service account token and sends it to an attacker-controlled URL when a HashiCorp Vault Secret Lookup credential with kubernetes_role authentication is tested. An authenticated attacker with credential-creation privileges can exfiltrate the service account token, gaining Kubernetes API access to the control plane namespaces with full pod CRUD and secret read permissions, including database credentials and the Django SECRET_KEY.