Unauthorized Access to Kubernetes API Server
Vulnerability Description
When Kubernetes service is normally started, two ports will be opened: Localhost Port (default 8080), Secure Port (default 6443). Both of these ports provide API Server services, one can be directly accessed through the web, and the other can be called through the kubectl client. If the operation and maintenance personnel do not have reasonable configuration validation and permissions, then the attacker can obtain the rights to the container through these two interfaces.
Environment Setup
ubuntu 18.04
Download
Start K8S
Start dashboard
Map K8S API out
Vulnerability Detection
Dashboard
Vulnerability Fix
Authorize and authenticate;
Use Service Account tokens;
Set firewall policies to limit IP access to the service.
PreviousSpringBoot Actuator Unauthorized Access VulnerabilityNextUnauthorized Access Vulnerability in Clickhouse
Last updated