Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1489360 - (CVE-2017-12155) CVE-2017-12155 openstack-tripleo-heat-templates: Ceph client keyring is world-readable when deployed by director
CVE-2017-12155 openstack-tripleo-heat-templates: Ceph client keyring is world...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170919,repor...
: Security
Depends On: 1493311 1491467 1491468 1491469 1491470 1491471 1491472 1491473 1518029 1518030
Blocks: 1489366
  Show dependency treegraph
 
Reported: 2017-09-07 05:25 EDT by Adam Mariš
Modified: 2018-09-23 22:13 EDT (History)
33 users (show)

See Also:
Fixed In Version: puppet-tripleo-7.4.7, puppet-tripleo-6.5.7
Doc Type: If docs needed, set a value
Doc Text:
A resource-permission flaw was found in the openstack-tripleo-heat-templates package where ceph.client.openstack.keyring is created as world-readable. A local attacker with access to the key could read or modify data on Ceph cluster pools for OpenStack as though the attacker were the OpenStack service, thus potentially reading or modifying data in an OpenStack Block Storage volume. To exploit this flaw, the attacker must have local access to an overcloud node. However by default, access to overcloud nodes is restricted and accessible only from the management undercloud server on an internal network. Follow good security principles in your networking environment to ensure that network access is properly controlled.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0602 None None None 2018-03-28 13:14 EDT
Red Hat Product Errata RHSA-2018:1593 None None None 2018-05-17 11:40 EDT
Red Hat Product Errata RHSA-2018:1627 None None None 2018-05-18 13:03 EDT

  None (edit)
Description Adam Mariš 2017-09-07 05:25:29 EDT
When deploying overcloud by Director, it was found that ceph client keyring is created as world-readable potentially allowing local attackers to read or modify data of guests.

Product bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1462657
Comment 6 Summer Long 2017-09-14 02:24:33 EDT
Acknowledgments:

Name: Katuya Kawakami (NEC)
Comment 8 Summer Long 2017-09-19 02:11:23 EDT
Mitigation:

To mitigate the flaw, use an overcloud post-deploy script[1] to do the following on all overcloud nodes:

key=/etc/ceph/ceph.client.openstack.keyring
chown root:root $key
chmod 600 $key
setfacl -m u:glance:r $key 
setfacl -m u:cinder:r $key
setfacl -m u:nova:r $key
setfacl -m u: gnocchi:r $key

If not using Red Hat OpenStack Platform director, then run the commands above manually on each overcloud node, 
Warning: Only running 'chmod 600 $key' alone (without an ACL) will prevent OpenStack from reading the key.

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html-single/advanced_overcloud_customization/#sect-Customizing_Overcloud_PostConfiguration_All
Comment 9 Summer Long 2017-09-19 18:11:54 EDT
Created openstack-tripleo-heat-templates tracking bugs for this issue:

Affects: openstack-rdo [bug 1493311]
Comment 14 Eric Christensen 2018-02-19 11:44:27 EST
In reply to comment 13:
I reformatted the security part of the erratum to meet the new criteria.  Thanks for the heads up.
Comment 21 Summer Long 2018-02-21 17:07:11 EST
Thanks Jason. Will do, and will pass on to the team. Thanks!
Comment 25 errata-xmlrpc 2018-03-28 13:14:27 EDT
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 12.0 (Pike)

Via RHSA-2018:0602 https://access.redhat.com/errata/RHSA-2018:0602
Comment 26 errata-xmlrpc 2018-05-17 11:40:31 EDT
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 10.0 (Newton)

Via RHSA-2018:1593 https://access.redhat.com/errata/RHSA-2018:1593
Comment 27 errata-xmlrpc 2018-05-18 13:02:51 EDT
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 11.0 (Ocata)

Via RHSA-2018:1627 https://access.redhat.com/errata/RHSA-2018:1627

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