You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background
After user login in kubeflow through Single-Sign-On, user can get his/her cookie from browser easily.
Then they can use this cookie sending request to multiple kubeflow api to get/create many kubeflow resources in each namespace even they don't got access to those namespace. Example
[user A] is not contributor in kubeflow [namespace B]. Normally only namespace owner can add contributor through UI.
However [user A] can do those behaviors below to add himself as contributor in [namespace B]
login kubeflow through sso
Open browser inspect -> Click notebook in UI -> Find Name 'notebooks' in network -> Copy Cookie in request header
[user A] will be added in [namespace B] and he can visit notebook or even create other resources in [namespace B]. Question
If there is any way do authorization on kubeflow API to prevent [user A] using api to do any behavior in any other namespace unless [user A] is contributor of those namespaces)?
The text was updated successfully, but these errors were encountered:
Background
After user login in kubeflow through Single-Sign-On, user can get his/her cookie from browser easily.
Then they can use this cookie sending request to multiple kubeflow api to get/create many kubeflow resources in each namespace even they don't got access to those namespace.
Example
[user A] is not contributor in kubeflow [namespace B]. Normally only namespace owner can add contributor through UI.
However [user A] can do those behaviors below to add himself as contributor in [namespace B]
url:https://kubeflow.domain/api/workgroup/add-contributors/namespace-B
request.header: cookies: "*******"
method: post
body: {"contributor":"user A's email address"}
Question
If there is any way do authorization on kubeflow API to prevent [user A] using api to do any behavior in any other namespace unless [user A] is contributor of those namespaces)?
The text was updated successfully, but these errors were encountered: