Improper input validation in Kubernetes
CVE-2023-2728
Users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers. The policy ensures pods running with a service account may only reference secrets specified in the service account’s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the `kubernetes.io/enforce-mountable-secrets` annotation are used together with ephemeral containers.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.022, 82.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kubernetes — versions v1.24.14, v1.25.0 - v1.25.10, v1.26.0 - v1.26.5
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Cgv-Dev/Metasploit-Module-TFM (last pushed 2024-09-05): Module written in Ruby with the objective of exploiting vulnerabilities CVE-2023-2728 and CVE-2024-3177, both related to the secret mount policy in a Kubernetes cluster using a custom Metasploit modu…
Also mentioned in 3 other repositories (fwuest/opencti-homelab-demo, noirfate/k8s_debug, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8 (mailing-list, Mailing List)
- github.com/kubernetes/kubernetes/issues/118640 (issue-tracking, Issue Tracking)
- www.openwall.com/lists/oss-security/2023/07/06/3 (Mailing List)
- security.netapp.com/advisory/ntap-20230803-0004/
This CVE has public exploit evidence. See the latest CVEs with public exploits.