-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
World writable files being written by kibana #61267
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
Can you paste the results of rpm -qi kibana Thanks |
Output of rpm -qi kibana:
Attached output of rpm -Vv kibana since it is quite large as a text paste. Another host with kibana 7.5.2:
Attached output of rpm -Vv kibana. |
Starting in 8.0 we still have writes (unfortunately) but they're being moved to /var/lib/kibana instead. Related #25944 |
Kibana version:
Observed in 7.4.0 - 7.5.2
Elasticsearch version:
7.4.0 - 7.5.2
Server OS version:
CentOS Linux release 7.7.1908 (Core)
Browser version:
nothing to do with browser
Browser OS version:
nothing to do with browser
Original install method (e.g. download page, yum, from source, etc.):
yum from elastic repo
Describe the bug:
When going through an audit, we have found a lot of world writable(o+w, observed permissions 666 octal) files present in /usr/share/kibana/optimize/bundle.
mainly images but more worringly code files:
/usr/share/kibana/optimize/bundles/light_theme.bundle.js
/usr/share/kibana/optimize/bundles/dark_theme.bundle.js
/usr/share/kibana/optimize/bundles/kibana.bundle.js
/usr/share/kibana/optimize/bundles/maps.bundle.js
/usr/share/kibana/optimize/bundles/uptime.bundle.js
/usr/share/kibana/optimize/bundles/apm.bundle.js
/usr/share/kibana/optimize/bundles/commons.bundle.js
/usr/share/kibana/optimize/bundles/ml.bundle.js
/usr/share/kibana/optimize/bundles/infra.bundle.js
/usr/share/kibana/optimize/bundles/src/legacy/ui/public/field_editor/components/field_format_editor/editors/url/icons/go.png
Steps to reproduce:
Unsure.
Expected behavior:
Kibana should NOT create world writable files.
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: