Bug 908581 (CVE-2013-0266)

Summary: CVE-2013-0266 OpenStack packstack: puppetlabs-cinder / manifests / base.pp weak file permissions
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aortega, apevec, cpelland, derekh, markmc, rbryant, security-response-team, ykaul
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-10 18:52:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 908582, 908587    
Bug Blocks: 908588    

Description Kurt Seifried 2013-02-07 04:37:30 UTC
Derek Higgins (derekh) reports:

puppetlabs-cinder / manifests / base.pp as used in OpenStack packstack uses
unsafe file permissions (mode 0644) for various config files (cinder.conf and
api-paste.ini) which can result in authorization credentials being exposed to 
local attackers.

External references:
https://github.com/puppetlabs/puppetlabs-cinder/blob/master/manifests/base.pp#L31
mode    => '0644',

Comment 4 Derek Higgins 2013-02-08 13:20:15 UTC
This covers cinder.conf but I think api-paste.ini should also be included. It contains the cinder auth credentials for keystone.

Comment 5 Murray McAllister 2013-02-24 21:49:35 UTC
Acknowledgements:

This issue was discovered by Derek Higgins of the Red Hat OpenStack team.

Comment 6 errata-xmlrpc 2013-03-05 21:03:31 UTC
This issue has been addressed in following products:

  OpenStack Folsom for RHEL 6

Via RHSA-2013:0595 https://rhn.redhat.com/errata/RHSA-2013-0595.html