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 1210705 - (CVE-2015-3010) CVE-2015-3010 ceph-deploy: keyring permissions are world readable in ~ceph
CVE-2015-3010 ceph-deploy: keyring permissions are world readable in ~ceph
Status: CLOSED ERRATA
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=20150305,repor...
: Security
Depends On: 1210706 1211756 1225209
Blocks: 1210708
  Show dependency treegraph
 
Reported: 2015-04-10 07:59 EDT by Vasyl Kaigorodov
Modified: 2016-02-02 15:52 EST (History)
10 users (show)

See Also:
Fixed In Version: ceph-deploy 1.5.23
Doc Type: Bug Fix
Doc Text:
It was discovered that ceph-deploy, a utility for deploying Red Hat Ceph Storage, would create the keyring file with world readable permissions, which could possibly allow a local user to obtain authentication credentials from the keyring file.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-29 16:48:07 EDT
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-2015:1092 normal SHIPPED_LIVE Moderate: ceph-deploy security update 2015-06-11 15:54:25 EDT
Red Hat Product Errata RHSA-2015:1579 normal SHIPPED_LIVE Moderate: ceph-deploy security update 2016-02-02 20:46:19 EST
Red Hat Product Errata RHSA-2015:1631 normal SHIPPED_LIVE Moderate: ceph-deploy security update 2016-02-02 21:39:36 EST

  None (edit)
Description Vasyl Kaigorodov 2015-04-10 07:59:26 EDT
ceph-deply versions before 1.5.23 had an issue where keyring permissions were world readable.

CVE assigned: http://seclists.org/oss-sec/2015/q2/91
Upstream fix: https://github.com/ceph/ceph-deploy/commit/eee56770393bf19ed2dd5389226c6190c08dee3f
Comment 1 Vasyl Kaigorodov 2015-04-10 08:00:19 EDT
Created ceph-deploy tracking bugs for this issue:

Affects: fedora-all [bug 1210706]
Comment 5 Siddharth Sharma 2015-04-21 10:24:34 EDT
Analysis
========

In the following code of ceph-deploy

keyring = '/etc/ceph/{cluster}.client.admin.keyring'.format(
        cluster=args.cluster)
    r = fetch_file(
        args=args,
        frompath=keyring,
        topath='{cluster}.client.admin.keyring'.format(
            cluster=args.cluster),
        _hosts=args.mon,
 )

It copies the keys without forcing the file permissions which by default leads to 777 which makes it world readable while copying it to all nodes or monitors
Comment 6 Fedora Update System 2015-04-21 15:23:54 EDT
ceph-deploy-1.5.23-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2015-04-21 15:29:23 EDT
ceph-deploy-1.5.23-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 errata-xmlrpc 2015-06-11 11:54:40 EDT
This issue has been addressed in the following products:

  Red Hat Ceph Storage 1.2 for RHEL 7
  Red Hat Ceph Storage 1.2 for RHEL 6

Via RHSA-2015:1092 https://access.redhat.com/errata/RHSA-2015:1092
Comment 13 errata-xmlrpc 2015-08-06 20:58:13 EDT
This issue has been addressed in the following products:

Red Hat Ceph Storage 1.2 for Ubuntu 12.04
Red Hat Ceph Storage 1.2 for Ubuntu 14.04

Via RHSA-2015:1579 https://access.redhat.com/errata/RHSA-2015:1579
Comment 14 errata-xmlrpc 2015-08-17 03:30:05 EDT
This issue has been addressed in the following products:
 
 Red Hat Ceph Storage 1.2 for CentOS 6

Via RHSA-2015:1631 https://access.redhat.com/errata/RHSA-2015:1631

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