Kubernetes · Report #1212853
Broken link hijacing in https://kubernetes-csi.github.io/docs/drivers.html
Validstatus
mediumseverity
4upvotes
6 Nov 2021disclosed
How it was found
Summary : When a web application has any pages, sources, links to external 3rd party services and are broken then the attacker can claim those endpoints to successfully conduct the attack and claim those endpoints on behalf of the target website and impersonate his identity.
Steps To Reproduce
- visit https://kubernetes-csi.github.io/docs/drivers.html
- search for DriveScale
- click on that link
- you will be redirected to github and it shows 404
- change your username to DriveScale
- create k8s-plugins repository
- When someone clicks on DriveScale link they will be redirected to attacker repository
References https://hackerone.com/reports/1031321 https://hackerone.com/reports/1117079 https://edoverflow.com/2017/broken-link-hijacking/
For POC I have attached video
Impact
The user will install wrong CSI driver which leads to impersonation attack. The attacker can install Ransomware, trojan etc.