CVE-2023-5528

7.2 HIGH

📋 TL;DR

This CVE allows users with pod and persistent volume creation permissions on Windows nodes to escalate privileges to admin level on those nodes. Only Kubernetes clusters using in-tree storage plugins on Windows nodes are affected. Attackers could gain full control over Windows worker nodes.

💻 Affected Systems

Products:
  • Kubernetes
Versions: All versions prior to patched releases
Operating Systems: Windows
Default Config Vulnerable: ✅ No
Notes: Only affects clusters with Windows nodes using in-tree storage plugins. CSI drivers are not affected.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full administrative control of Windows nodes, allowing lateral movement, data exfiltration, and cluster-wide compromise.

🟠

Likely Case

Privilege escalation on Windows nodes leading to unauthorized access to node resources and potential data theft.

🟢

If Mitigated

Limited impact if proper RBAC controls restrict pod and persistent volume creation to trusted users only.

🌐 Internet-Facing: LOW
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires authenticated access with pod and persistent volume creation permissions on Windows nodes.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check Kubernetes security advisory for specific patched versions

Vendor Advisory: https://groups.google.com/g/kubernetes-security-announce/c/SL_d4NR8pzA

Restart Required: Yes

Instructions:

1. Update Kubernetes to patched version. 2. Restart affected Windows nodes. 3. Verify all components are running patched versions.

🔧 Temporary Workarounds

Migrate to CSI drivers

all

Replace in-tree storage plugins with Container Storage Interface (CSI) drivers

Restrict RBAC permissions

all

Limit pod and persistent volume creation permissions on Windows nodes to trusted users only

🧯 If You Can't Patch

  • Implement strict RBAC controls to limit who can create pods and persistent volumes on Windows nodes
  • Migrate Windows workloads to nodes using CSI storage drivers instead of in-tree plugins

🔍 How to Verify

Check if Vulnerable:

Check if cluster has Windows nodes using in-tree storage plugins and verify Kubernetes version against patched releases

Check Version:

kubectl version

Verify Fix Applied:

Confirm Kubernetes version is updated to patched release and Windows nodes are using CSI drivers or have restricted permissions

📡 Detection & Monitoring

Log Indicators:

  • Unusual pod creation events on Windows nodes
  • Persistent volume creation by unauthorized users
  • Privilege escalation attempts on Windows nodes

Network Indicators:

  • Unusual outbound connections from Windows nodes
  • Lateral movement attempts from Windows nodes

SIEM Query:

Search for 'Create Pod' or 'Create PersistentVolume' events on Windows nodes by non-admin users

🔗 References

📤 Share & Export