Overly Exposed Kubernetes Components

Overly Exposed Kubernetes Components

No credential needed: the cluster answers anyone.

What Is Overly Exposed Kubernetes Components?

An internet-facing Kubernetes API server that accepts anonymous requests is only as closed as its most generous binding. You'll query a retailer's cluster with no credential, list Secrets through a binding made for an uptime checker, decode a database connection string and read the orders table. Then you'll delete the binding, turn anonymous authentication off, rotate the password and prove both the anonymous request and the leaked password are refused. Maps to OWASP Kubernetes Top Ten K06, Overly Exposed Components.

What You'll Learn in Overly Exposed Kubernetes Components

Overly Exposed Kubernetes Components — Training Steps

  1. An API server that answers

    Bob's scanner found a Kubernetes API server on a public address. He asks it which version it runs, with no credential. Glaskell sells furniture and home goods online and runs its own Kubernetes clusters on rented servers.

  2. Ask for something real

    Answering /version is normal. Bob asks for something that should need a credential: the Secrets in the checkout namespace.

  3. Decode the connection string

    Secret values are base64. Bob decodes the checkout database URL.

  4. Open the checkout database

    The database's hostname resolves publicly and it accepts connections from the internet. Bob connects with the decoded credentials.

  5. Read the orders

    Bob reads the recent orders.

  6. Check your understanding

  7. Checkout database read from outside

    Glaskell's database team sees the checkout database queried from an address outside the company.

  8. Who may anonymous users act as

    Alice looks for any binding that grants something to the unauthenticated group.

  9. Read the binding and the API server

    Alice opens the binding and the API server's static pod manifest.

  10. Everyone is unauthenticated

    The binding was made so an external uptime service could check the cluster without a credential. It grants its role to the whole internet.

Security Framework Coverage

OWASP Kubernetes Top 10

  • K06:2025 Overly Exposed Components

CWE

  • CWE-306 Missing Authentication for Critical Function
  • CWE-284 Improper Access Control

MITRE ATT&CK

  • T1133 External Remote Services
  • T1552.007 Unsecured Credentials: Container API

CIS Controls

  • CIS 4 Secure Configuration of Enterprise Assets and Software

NIST CSF

  • PR.AT-02 Individuals in specialized roles are provided with awareness and training so that they possess the knowledge and skills to perform relevant tasks with cybersecurity risks in mind
  • PR.PS Platform Security

NICE Framework

  • IO-WRL-005 Systems Administration
  • DD-WRL-001 Cybersecurity Architecture