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:
- Go to https://kubernetes-csi.github.io/docs/drivers.html
- Search for
MacroSAN - Click on
MacroSAN - You will be taken to this repository https://github.com/macrosan-csi/macrosan-csi-driver
- You will see takeover message there
Supporting Material/References:
- https://github.com/macrosan-csi/macrosan-csi-driver
- https://kubernetes-csi.github.io/docs/drivers.html
{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.