HexBrain

Kubernetes · Report #1434967

Github Account Takeover from Docs page of `kubernetes-csi.github.io`

Validstatus
lowseverity
16upvotes
4 Jun 2022disclosed

How it was found

Report Submission Form

Summary:

Kubernetes in its docs https://kubernetes-csi.github.io have a drivers list. One of the driver was pointing to an external github account. That github account was not registered on github.com So I was able to takeover the account and host PoC

Kubernetes Version:

NA

Component Version:

NA

Steps To Reproduce:

  1. Go to https://kubernetes-csi.github.io/docs/drivers.html
  2. Search for MacroSAN
  3. Click on MacroSAN
  4. You will be taken to this repository https://github.com/macrosan-csi/macrosan-csi-driver
  5. You will see takeover message there

Supporting Material/References:

{F1556768}

Reference

Impact

An attacker can takeover the repository and host malicious code on it, when any user or employee will refer the docs and tries to download the dirver, they will end up using malicious code which could lead to RCE.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original