Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary use of LIST permission example of attack does not work #53

Open
Sk3pper opened this issue Dec 18, 2023 · 0 comments · May be fixed by #54
Open

Unnecessary use of LIST permission example of attack does not work #53

Sk3pper opened this issue Dec 18, 2023 · 0 comments · May be fixed by #54

Comments

@Sk3pper
Copy link

Sk3pper commented Dec 18, 2023

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 Sk3pper linked a pull request Dec 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant