www-project-kubernetes-top-ten icon indicating copy to clipboard operation
www-project-kubernetes-top-ten copied to clipboard

Unnecessary use of LIST permission example of attack does not work

Open Sk3pper opened this issue 1 year ago • 0 comments

I tired to replicate the Unnecessary use of LIST permission example attack but it does not work. I think the problem is that in the K8s version before 1.24, every time we would create a service account, a non-expiring secret token (Mountable secrets & Tokens) was created by default. However, from version 1.24 onwards, it was disbanded and no secret token is created by default when we create a service account.

When i tried to access to http://127.0.0.1:8001/api/v1/namespaces/default/secrets/abcd link i can see the "secretAuthToken": "dmVyeVNlY3VyZTEyMw=="

Sk3pper avatar Dec 18 '23 11:12 Sk3pper