Bug 873447 - (CVE-2012-5483) CVE-2012-5483 OpenStack: Keystone /etc/keystone/ec2rc secret key exposure
CVE-2012-5483 OpenStack: Keystone /etc/keystone/ec2rc secret key exposure
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 873449 873529 876287 1102466
Blocks: 836072 873487
  Show dependency treegraph
Reported: 2012-11-05 16:30 EST by Kurt Seifried
Modified: 2016-04-27 00:52 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-12-11 02:57:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed patch (1.70 KB, patch)
2012-11-09 10:28 EST, Alan Pevec
apevec: review?
Details | Diff

  None (edit)
Description Kurt Seifried 2012-11-05 16:30:42 EST
Within the OpenStack keystone package the file /etc/keystone/ec2rc is world 
readable and contains:


Also please note that the /etc/keystone/ directory should probably not be world
readable at all.
Comment 1 Alan Pevec 2012-11-06 06:59:10 EST
/etc/keystone/ec2rc is not included in openstack-keystone RPM, it's produced by sample_data.sh script

We'll patch that part out, neither sample script nor ec2rc file is documented in our guide: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_OpenStack_Preview/1/html/Getting_Started_Guide/index.html
Comment 2 Alan Pevec 2012-11-09 10:28:59 EST
Created attachment 641626 [details]
Proposed patch
Comment 3 Alan Pevec 2012-11-09 10:33:07 EST
> Also please note that the /etc/keystone/ directory should probably not be world
readable at all.

Instead of proposed patch, we cloud just fix that in spec:

-%dir %{_sysconfdir}/keystone
+%dir %attr{0750, root, keystone} %{_sysconfdir}/keystone
Comment 4 Kurt Seifried 2012-11-13 13:09:34 EST
Created openstack-keystone tracking bugs for this issue

Affects: epel-6 [bug 876287]
Comment 5 Fedora Update System 2012-11-17 14:50:30 EST
python-keystoneclient-, python-glanceclient-0.5.1-1.el6, python-websockify-0.2.0-1.el6, novnc-0.4-2.el6, python-prettytable-0.6.1-1.el6, openstack-quantum-2012.2-2.el6, python-quantumclient-2.1.1-0.el6, python-cinderclient-0.2.26-1.el6, python-novaclient-2.9.0-1.el6, python-django-openstack-auth-1.0.2-3.el6, openstack-nova-2012.2-2.el6, openstack-cinder-2012.2-3.el6, openstack-utils-2012.2-6.el6, openstack-glance-2012.2-3.el6, python-django-horizon-2012.2-4.el6, openstack-keystone-2012.2-5.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Murray McAllister 2012-12-10 00:06:52 EST

This issue was discovered by Kurt Seifried of the Red Hat Security Response Team.
Comment 8 errata-xmlrpc 2012-12-10 16:03:06 EST
This issue has been addressed in following products:

  OpenStack Essex for RHEL 6

Via RHSA-2012:1556 https://rhn.redhat.com/errata/RHSA-2012-1556.html
Comment 9 Fedora Update System 2012-12-10 20:27:18 EST
openstack-keystone-2012.1.3-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

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