Auth bypass in Azure Aad-Pod-Identity
CVE-2022-23551
aad-pod-identity assigns Azure Active Directory identities to Kubernetes applications and has now been deprecated as of 24 October 2022. The NMI component in AAD Pod Identity intercepts and validates token requests based on regex. In this case, a token request made with backslash in the request (example: `/metadata/identity\oauth2\token/`) would bypass the NMI validation and be sent to IMDS allowing a pod in the cluster to access identities that it shouldn't have access to. This issue has been fixed and has been included in AAD Pod Identity release version 1.8.13. If using the AKS pod-managed identities add-on, no action is required. The clusters should now be running the version 1.8.13 release.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L.
EPSS exploit prediction
EPSS 0.008, 55.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Azure Aad-Pod-Identity — versions < 1.8.13
- Microsoft Azure Ad Pod Identity
Weakness classification (CWE)
References
- https://github.com/Azure/aad-pod-identity/security/advisories/GHSA-p82q-rxpm-hjpc (Third Party Advisory)
- https://github.com/Azure/aad-pod-identity/commit/7e01970391bde6c360d077066ca17d059204cb5d (Patch, Third Party Advisory)
- https://github.com/Azure/aad-pod-identity/releases/tag/v1.8.13 (Third Party Advisory)