Bugzilla – Bug 783195
VUL-1: install-chef-suse.sh: tmp file issues and insecure permission on files containing confidential data
Last modified: 2017-04-15 10:41:37 UTC
https://github.com/aspiers/crowbar/blob/a64cf18c93c30b1afcbae9e7309d7d4a3af29e46/extra/install-chef-suse.sh Reading this file revealed two issues at least: - tmp files are used in an insecure way which allows local privilege escalation, use mktemp -d /tmp/lalalal.XXXXXXXX - the verious keys generated during the run of the script are written to locsl files without setting an appropriate umask, local uses might read the keys from the files
bugbot adjusting priority
Valid points. Fortunately low impact since admin nodes should be dedicated hardware so it's unlikely anyone else would have non-root access to it prior to SUSE Cloud installation.
I am fine with reducing the impact. When can a fix be made ready and part of a maintenance update for SUSE Cloud?
Adam, could you please take care of it. We'll make sure to getting this fixed with the next round of updates.
Maint team, could you please assign a swamp id for this? (package: crowbar)
Chris, should just this specific issue be fixed or will it be an consolidated update (e.g. contains lots of additional, non-security fixes)? If it's really just this issue I can just create the swamp for you too.
We'll roll this into a bigger update. Leonardo already is working on creating the swampid for this.
The SWAMPID for this issue is 49909. This issue was rated as low. Please submit fixed packages until 2012-11-27. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/49909
CVE-2012-0433
Is it really worth fixing this? I think we should decide to either WONTFIX or provide something. We have plenty of other 1.0 bugs which need a similar decision btw.
From my POV the fixes are easy and should be added to the next update round.
agreed.
was fixed before the initial import into the crowbar github repo. the script currently lives at : https://github.com/crowbar/crowbar/blob/master/scripts/install-chef-suse.sh but previously at releases/development/master/extra/install-chef-suse.sh