Kubernetes: Subpath symlinking on Windows nodes permits NTLM coercion
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
An NTLM coercion vulnerability exists on Windows nodes when the subPath supplied in a pod's volumeMounts is set to a symbolic link that points to an attacker-controlled network share. When a kubelet resolves symlinks, it does not reject a target that resolves to a UNC path. As a result, the kubelet will transparently attempt to authenticate to the share using NTLM. This allows an attacker to obtain the NetNTLMv2 hash of the account under which the kubelet is running. An attacker could then attempt to crack the hash to retrieve the corresponding password or relay it to impersonate the node, if the node is domain-joined.
Text from CVE List
Affected versions 4
- Kubernetesaffected: v1.34.0 through v1.34.11CVE List
- Kubernetesaffected: v1.35.0 through v1.35.8CVE List
- Kubernetesaffected: v1.36.0 through v1.36.4CVE List
- Kubernetesaffected: v1.37.0 through v1.37.0CVE List