Skip to content
Subdomain takeover Disclosed report Beginner

Broken Link Hijacking on kubernetes.io Documentation

A Spanish Kubernetes documentation page linked to an Atlassian Confluence space that was not registered, allowing an attacker to claim it. The attacker could then host misleading or malicious content that users might trust because it was referenced from the official docs.

codermak Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 15 days
  • Paid in 7 days
  • Disclosed after 2 months

Report Submission Form

Summary:

Kubernetes docs has Spanish translation available. One of the page of spanish doc has an external reference to a confluence page. The confluence account was not registered on Atlassian. 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/es/docs/concepts/workloads/controllers/daemonset/
  2. Search for Sysdig Agent
  3. Click on the atlassian link next to that text
  4. You will be redirected to https://sysdigdocs.atlassian.net/wiki/spaces/Platform),/overview
  5. Now try opening the confluence account with this url https://sysdigdocs.atlassian.net/wiki/spaces/TAKEOVER/overview
  6. You will see the takeover message

Supporting Material/References:

Screenshot_from_2021-09-06_22-47-49.png
Screenshot_from_2021-09-06_22-47-49.png From the original on HackerOne

Impact

As an attacker, I can host malicious content on the confluence page to misguide the user. I can also, host details about installing 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 a dangling external link to an unclaimed third-party Confluence space, which the documentation maintainers did not monitor or remove.

Impact

An attacker could host misleading content or fake installation instructions on the claimed page, which users might trust because it is referenced from the official documentation, potentially leading to malware installation or remote code execution on their systems.

What the attacker needed

Victim visits the Spanish docs page; victim clicks the external Atlassian link

How it was found

  1. Open the Spanish daemonset documentation page.
  2. Find the Sysdig Agent reference and click the Atlassian link next to it.
  3. Observe the redirect to the Confluence space URL.
  4. Open the Confluence space URL directly to see the takeover message.

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 documentation page linked to an external wiki space that nobody had claimed. Because the space was unregistered, anyone could create it and put their own content there. Visitors following the official link would then see attacker-controlled instructions.

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.