Kubernetes · Report #1350755
Tokenless GUI Authentication
Validstatus
mediumseverity
7upvotes
4 Nov 2021disclosed
How it was found
Report Submission Form
Summary:
A person has the ability to bypass the login screen using the 401 error code produced from a failed token login. The user is given the privileges of an system:anonymous user.
Kubernetes Version:
kubectl, kubeadm, kubelet 1.22.2 Ubuntu 20.04.3 - 64bit
Component Version:
Dashboard v2.3.1+0.g8d9f8e76c
Steps To Reproduce:
- Attempt to log in with a token (just put in gibberish)
- Cut and paste the entire 401 authentication error starting from the back, forwards.
- Paste the 401 error into the token password field
- Hit enter to Submit
Supporting Material/References:
Please refer to the demonstration.
Impact
The user is given the privileges of an system:anonymous user and access to the GUI.