Red Hat Bugzilla – Bug 806469
stickshift-node.conf should only contain relevant information
Last modified: 2015-05-14 18:52:44 EDT
Description of problem:
In the last release, because of changes in how cartridges work, /etc/stickshift/stickshift-node.conf was opened up so that users could read settings from it.
This file should only contain information that the cartridges will need. All other information should be switched to a file that users cannot read.
Before this release, this file was not readable by users / gears.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open /etc/stickshift/stickshift-node.conf
2. Notice that it's readable by everyone
3. Notice that it contains more information that users don't need to see
The file is readable by everyone and contains information that users don't need to see.
It should only contain information that the users / gears need to see, and nothing more.
Is any information in that file a security issue if the gears can see it?
Mike, Tim, Dan, Krishna and I discussed this and it was determined that even if the information wasn't immediately dangerous for gears to see, this should still be moved out because:
1) the principle of least privilege (why show users data that they don't need to see, that may be exploitable either now or in the future)
2) since the file used to be private, developers may add sensitive information to the file in the future without knowing the implications.
Mike or Tim can probably give more reasons.
https://rally1.rallydev.com/#/4670516379d/detail/userstory/6693533935 to ensure the sensitive information in question is being secured.
Cartridges are using too many variables to make this change worth while.
User story deleted.