Bug 1637327 (CVE-2018-14662)

Summary: CVE-2018-14662 ceph: authenticated user with read only permissions can steal dm-crypt / LUKS key
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: branto, danmick, david, fedora, i, jdillama, josef, kdreyer, kkeithle, loic, ramkrsna, security-response-team, sisharma, steve
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: ceph 13.2.4 Doc Type: If docs needed, set a value
Doc Text:
It was found that authenticated ceph user with read only permissions could steal dm-crypt encryption keys used in ceph disk encryption.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-21 20:47:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1637411, 1637412, 1665972    
Bug Blocks: 1628199    

Description Sam Fowler 2018-10-09 06:16:16 UTC
The Ceph documentation states that clients should use "allow r" mon caps[1][2][3], which will grant full read access to all config-keys stored in the monitor -- including the LUKS encryption keys for OSD.

This is in contrast to the original dm-crypt key management feature[4], which indicates that these keys should be restricted to only the lockbox user.

Upstream Documentation:

[1] http://docs.ceph.com/docs/master/cephfs/client-auth/
[2] http://docs.ceph.com/docs/emperor/rados/operations/authentication/#add-a-key
[3] http://docs.ceph.com/docs/master/rados/operations/user-management/#add-a-user
[4] https://tracker.ceph.com/projects/ceph/wiki/Osd_-_simple_ceph-mon_dm-crypt_key_management

Comment 4 Siddharth Sharma 2019-01-14 15:18:37 UTC
External References:


Comment 5 Siddharth Sharma 2019-01-14 15:22:26 UTC
Created ceph tracking bugs for this issue:

Affects: fedora-all [bug 1665972]

Comment 6 Siddharth Sharma 2019-01-15 03:45:10 UTC
upstream fix


Comment 7 errata-xmlrpc 2019-08-21 15:10:19 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 3.3

Via RHSA-2019:2538 https://access.redhat.com/errata/RHSA-2019:2538

Comment 8 errata-xmlrpc 2019-08-21 15:22:08 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 3 for Red Hat Enterprise Linux 7

Via RHSA-2019:2541 https://access.redhat.com/errata/RHSA-2019:2541

Comment 9 Product Security DevOps Team 2019-08-21 20:47:04 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):