CVE-2024-9486
Critical · 9.8VM images built with Image Builder and Proxmox provider use default credentials in github.com/kubernetes-sigs/image-builder
CVSS
9.8
EPSS
2.2%
Published
Oct 15, 2024
CISA due date
—
Cloudanix analysis
Some virtual machine images used to run Kubernetes clusters were built with default login details left active, letting anyone who knows those details take control of the servers.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Full Compromise
- Component
- Application
- Class
- Credential Exposure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Default credentials remain enabled in VM images produced by the Proxmox provider in Kubernetes Image Builder versions <= v0.1.37, granting root shell access to any node instantiated from those images.
Why it matters to the business
Compromised nodes expose entire Kubernetes clusters to unauthorized root access, risking workload takeover, data exfiltration, and operational disruption; prevalence across downstream image consumers amplifies exposure.
How an attack unfolds
An attacker locates nodes built from vulnerable Proxmox images, connects using the known default credentials, obtains root, and pivots into the cluster control plane or workloads.
How to fix it
Upgrade to kubernetes-sigs/image-builder commit 09aedcd7e36cddacdb2d5ea7532003f39bf7bb57 or newer, rebuild all affected images with the Proxmox provider, and redeploy nodes from the new images.
How to confirm the fix worked
Confirm Image Builder version used in builds is at or above the fixed commit; test resulting images to ensure default credentials are disabled; review node SSH and authentication configurations.
Typical attack path
- Locate reachable Kubernetes nodes created from Proxmox images built with vulnerable Image Builder
- Authenticate using the enabled default credentials to obtain an initial shell
- Escalate privileges to root and enumerate cluster resources
- Deploy persistence, move laterally, or exfiltrate data
How to detect it
Review Image Builder logs and build artifacts for versions <= v0.1.37 using the Proxmox provider; inspect node authentication logs for successful logins with default credential patterns.
What your security team should do
- Rebuild and replace all Proxmox-based VM images using the fixed Image Builder commit immediately
- Audit existing nodes for acceptance of default credentials and rotate or remove them
- Add build pipeline checks to enforce updated Image Builder versions
- Monitor authentication logs on nodes for anomalous root logins
The record
A security issue was discovered in the Kubernetes Image Builder versions <= v0.1.37 where default credentials are enabled during the image build process. Virtual machine images built using the Proxmox provider do not disable these default credentials, and nodes using the resulting images may be accessible via these default credentials. The credentials can be used to gain root access. Kubernetes clusters are only affected if their nodes use VM images created via the Image Builder project with its Proxmox provider.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/kubernetes-sigs/image-builder | 0 | 0.1.38 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP5 | govulncheck-vulndb | 0 | 0.0.20241030T212825-150000.1.9.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | govulncheck-vulndb | 0 | 0.0.20241030T212825-150000.1.9.1 |
| SUSE:Package Hub 12 | govulncheck-vulndb | 0 | 0.0.20241104T154416-5.1 |
| Ubuntu:20.04:LTS | kubernetes | 0 | No fix |
| Ubuntu:22.04:LTS | kubernetes | 0 | No fix |
| Ubuntu:24.04:LTS | kubernetes | 0 | No fix |
| Ubuntu:24.10 | kubernetes | 0 | No fix |
| openSUSE:Leap 15.5 | govulncheck-vulndb | 0 | 0.0.20241030T212825-150000.1.9.1 |
| openSUSE:Leap 15.6 | govulncheck-vulndb | 0 | 0.0.20241030T212825-150000.1.9.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | 0 | 0.0.20241030T212825-1.1 |
Related vulnerabilities
- CVE-2024-9594 VM images built with Image Builder with some providers use default credentials during… Also affects github.com/kubernetes-sigs/image-builder
- CVE-2024-10975 Hashicorp Nomad Incorrect Authorization vulnerability Also affects govulncheck-vulndb
- CVE-2024-10086 A vulnerability was identified in Consul and Consul Enterprise such that the server… Also affects govulncheck-vulndb
- CVE-2024-10006 A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that using… Also affects govulncheck-vulndb
- CVE-2024-10005 A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that using… Also affects govulncheck-vulndb
- CVE-2024-0132 NVIDIA Container Toolkit contains a Time-of-check Time-of-Use (TOCTOU) vulnerability Also affects govulncheck-vulndb
- CVE-2024-10452 Grafana org admin can delete pending invites in different org Also affects govulncheck-vulndb
- CVE-2024-9264 Grafana Command Injection And Local File Inclusion Via Sql Expressions Also affects govulncheck-vulndb