Project

General

Profile

Actions

Bug #19790

closed

rados ls on pool with no access returns no error

Added by Florian Haas about 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Security
Target version:
-
% Done:

0%

Source:
Tags:
security
Backport:
kraken,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Given the following auth capabilities:

client.jane
        key: AQCGsAFZMzgoFhAAr/qnglmIzxJoDwwSV2e4zg==
        caps: [mon] allow r
        caps: [osd] allow * pool=whirlpool

... the expectation is that "rados ls" would fail on any pool other than "whirlpool". It does not:

$ rados -n client.jane -p test ls; echo $?
testobj0
0

ceph version 10.2.7 (50e863e0f4bc8f4b9e31156de690d765af245185)


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #20722: kraken: rados ls on pool with no access returns no errorRejectedActions
Copied to RADOS - Backport #20723: jewel: rados ls on pool with no access returns no errorResolvedNathan CutlerActions
Actions

Also available in: Atom PDF