Skip to content
Misconfiguration Disclosed report Intermediate

Exposed Kubernetes API - RCE/Exposed Creds

An internal Kubernetes API endpoint was reachable from the internet without authentication. Access to it let the finder run arbitrary jobs with cluster-admin rights and obtain credentials that reached many internal instances.

txt3rob Follow

Originally disclosed on HackerOne

Bounty$25,000 Critical View original
  • Triaged in under an hour
  • Fixed in 8 days
  • Paid in 8 days
  • Disclosed after 2.7 years

Summary by the program

@txt3rob found one of Snaps internal Kubernetes instances exposing an API endpoint without authorization to the public. With access to this API he was able to run arbitrary code/jobs as a cluster-admin and gained access to credentials with internal access to a significant number of instances.

Summary by the researcher

During a worldwide kubernetes scan with binaryedge.io i found a K8 exposed internal API endpoint without authorization to the public.

With access to this API I was able to run arbitrary code/jobs as a cluster-admin and gained access to credentials with internal access to a significant number of instances.

The original report as published on HackerOne, by txt3rob. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Kubernetes API server was exposed to the public internet without authentication or network restrictions, granting anonymous cluster-admin-level access.

Impact

An unauthenticated attacker could run code as cluster-admin and use stolen credentials to reach a significant number of internal instances.

What the attacker needed

Internet-wide scan for exposed APIs; target API reachable from the internet; no authentication required

How it was found

  1. Run a worldwide scan for Kubernetes instances using a public internet-scanning service.
  2. Identify an internal Kubernetes API endpoint that answers without authorization.
  3. Use the API to run arbitrary code or jobs with cluster-admin privileges.
  4. Retrieve credentials from the cluster that give access to many internal instances.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Kubernetes is software that runs and manages containers (small packaged apps) across many machines. Its API is the control panel used to start jobs and read secrets, and it is meant to be reachable only from inside the network. Here it was open to anyone on the internet with no login required, so a stranger could act as an administrator.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by txt3rob

View all

1 more disclosed report, best first.

More from Snapchat

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.