CVE-2022-3294
MEDIUMkubernetes <1.22.16 and 1.25.0-1.25.4 - Authenticated Server-Side Request Forgery via Node Proxy Validation Bypass
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2022-3294. PoCs published by arbaaz29.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2022-3294, which allows an attacker with a service account token to escalate privileges by manipulating node status and accessing sensitive resources via the Kubernetes API server. The exploit involves patching node status to redirect traffic and then accessing secrets, pods, and services through the proxy endpoint.
Description
Users may have access to secure endpoints in the control plane network. Kubernetes clusters are only affected if an untrusted user can modify Node objects and send proxy requests to them. Kubernetes supports node proxying, which allows clients of kube-apiserver to access endpoints of a Kubelet to establish connections to Pods, retrieve container logs, and more. While Kubernetes already validates the proxying address for Nodes, a bug in kube-apiserver made it possible to bypass this validation. Bypassing this validation could allow authenticated requests destined for Nodes to to the API server's private network.
Exploits (1)
This repository contains a functional exploit for CVE-2022-3294, which allows an attacker with a service account token to escalate privileges by manipulating node status and accessing sensitive resources via the Kubernetes API server. The exploit involves patching node status to redirect traffic and then accessing secrets, pods, and services through the proxy endpoint.
References (3)
Scores
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H