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

WARN when configuring UploadListenerService #661

Open
kwin opened this issue Mar 2, 2023 · 1 comment
Open

WARN when configuring UploadListenerService #661

kwin opened this issue Mar 2, 2023 · 1 comment

Comments

@kwin
Copy link
Member

kwin commented Mar 2, 2023

Currently the UploadListenerService can be configured for arbitrary paths. Whenever some YAML is then placed in those paths, they are automatically executed with the service user (which is having lots of permissions).
As this can easily lead to situations with privilege escalation (i.e. users can grant themselves or others permissions, even if they should not by just placing a YAML file in a certain directory)

Therefore the listener shouldn't be used in most of the cases and using it should lead to a WARN. Preferably only install hooks or JMX (which require admin permissions) should be used for installing YAMLs.

@kwin
Copy link
Member Author

kwin commented Mar 20, 2023

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

No branches or pull requests

1 participant