Bug 1833025 (CVE-2020-10736)

Summary: CVE-2020-10736 ceph: authorization bypass in monitor and manager daemons
Product: [Other] Security Response Reporter: Hardik Vyas <hvyas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: adeza, branto, danmick, david, dbecker, fedora, gfidente, hvyas, i, jdurgin, jjoyce, josef, jschluet, kbasil, kkeithle, lhh, loic, lpeer, mburns, ramkrsna, sclewis, security-response-team, slinaber, srangach, steve
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ceph 15.2.2 Doc Type: If docs needed, set a value
Doc Text:
An authorization bypass vulnerability was found in Ceph versions 15.2.0 and later, where the ceph-mon and ceph-mgr daemons do not properly restrict access, resulting in gaining access to unauthorized resources. This flaw allows an authenticated client to modify the configuration and possibly conduct further attacks.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-19 03:04:27 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:    
Bug Blocks: 1825383    

Description Hardik Vyas 2020-05-07 16:47:37 UTC
In ceph-mon daemon, the "kludge" for older clients in handle_command() allows any authenticated client access to the three whitelisted commands. An attacker with "mon r" caps can exploit this, e.g. to change configuration parameters using injectargs. For ceph-mgr daemon, in handle_command(MCommand), messages are queued to adminsocket without access checks if fsid is present. This can be exploited by an attacker without manager caps to run any MCommand including "config set".

Comment 1 Hardik Vyas 2020-05-07 16:47:41 UTC
Acknowledgments:

Name: Olle Segerdahl

Comment 3 Hardik Vyas 2020-05-07 16:47:47 UTC
Mitigation:

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Comment 6 Summer Long 2020-05-08 04:55:34 UTC
Statement:

This vulnerability affects Ceph versions 15.2.0 and later. The following products do not ship the flawed versions and are therefore not affected by this flaw:
* Red Hat Ceph Storage 
* Red Hat OpenStack Platform

Comment 8 Hardik Vyas 2020-05-19 03:02:56 UTC
External References:

https://ceph.io/releases/v15-2-2-octopus-released/