Bug 1460038 - Keystone/Neutron file permissions and ownership do not follow upstream OpenStack security guide -- what is the impact?
Keystone/Neutron file permissions and ownership do not follow upstream OpenSt...
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-puppet-modules (Show other bugs)
9.0 (Mitaka)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Emilien Macchi
Arik Chernetsky
Depends On:
  Show dependency treegraph
Reported: 2017-06-08 17:54 EDT by jliberma@redhat.com
Modified: 2017-06-13 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-06-13 11:37:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description jliberma@redhat.com 2017-06-08 17:54:32 EDT
Description of problem:

The upstream OpenStack security guide recommends certain permissions and file ownerships:

OSP 9 does not follow some of the permissins and ownerships. Either this should be addressed as a security bug or we should explain the rationale for the looser settings.

Current results:

Current standing for Identity:
[root@overcloud-novacompute-0 keystone]# stat -c "%a %n" /etc/keystone/*
640 /etc/keystone/default_catalog.templates
640 /etc/keystone/keystone.conf
640 /etc/keystone/keystone-paste.ini
640 /etc/keystone/logging.conf
640 /etc/keystone/sso_callback_template.html 

Current standing for Neutron:
[root@overcloud-novacompute-0 keystone]# stat -c "%a %n" /etc/neutron/*
755 /etc/neutron/conf.d
640 /etc/neutron/dhcp_agent.ini
640 /etc/neutron/l2gateway_agent.ini
640 /etc/neutron/l2gw_plugin.ini
640 /etc/neutron/l3_agent.ini
640 /etc/neutron/lbaas_agent.ini
640 /etc/neutron/metadata_agent.ini
640 /etc/neutron/metering_agent.ini
640 /etc/neutron/networking_bgpvpn.conf
640 /etc/neutron/neutron.conf
640 /etc/neutron/neutron_lbaas.conf
777 /etc/neutron/plugin.ini
755 /etc/neutron/plugins
755 /etc/neutron/policy.d
640 /etc/neutron/policy.json
644 /etc/neutron/rootwrap.conf
640 /etc/neutron/services_lbaas.conf 

Some files are owned by root rather than the service user / group.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.