Skip to content
Subdomain takeover Disclosed report Beginner

Broken Link Takeover from kubernetes.io docs

A documentation page linked to a GitHub repository whose account was unregistered, allowing an attacker to claim it and host malicious content. An attacker could serve malicious SDKs or software that users might trust because the link came from the official documentation.

codermak Follow

Originally disclosed on HackerOne

  • Triaged in 6 hours
  • Fixed in 4 days
  • Paid in 4 days
  • Disclosed after 34 days

Report Submission Form

Summary:

Kubernetes docs has Spanish translation available. One of the page of Portuguese doc has an external reference to a github repository. The github account was not registered on github.com. So I was able to takeover the page and host the PoC

Kubernetes Version:

NA

Component Version:

NA

Steps To Reproduce:

  1. Go to https://kubernetes.io/pt-br/docs/concepts/cluster-administration/addons/
  2. Search for Multus
  3. Click on Multus
  4. You will be taken to this repository https://github.com/Intel-Corp/multus-cni and you will see takeover message there

Supporting Material/References:

Screenshot_from_2021-11-12_10-17-44.png
Screenshot_from_2021-11-12_10-17-44.png From the original on HackerOne

Impact

As an attacker, I can host malicious content on the github repository. I can also, host malicious sdk or softwares, which user will think is part of the deployment docs as its referreded in kubernetes.io, this can lead to RCE for users who are referring to this doc

The original report as published on HackerOne, by codermak. 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 documentation contained a link to a GitHub repository under an unregistered account, which anyone could claim.

Impact

An attacker could host malicious content, SDKs, or software that users might trust because it is referenced in the Kubernetes documentation, potentially leading to remote code execution for those users.

What the attacker needed

Unregistered GitHub account; victim visits documentation link

How it was found

  1. Open the Portuguese Kubernetes addons documentation page.
  2. Find the Multus entry.
  3. Click the Multus link.
  4. Observe the takeover message on the linked GitHub repository.

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.

A website's documentation pointed to a GitHub repository that no longer existed because its account was free to register. Anyone could create that account and put their own files there. Visitors trusting the documentation link could then download harmful software.

What is Subdomain takeover?

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.

More by codermak

View all

10 more disclosed reports, best first.

More from Kubernetes

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.