You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (Commented) (JIRA)" <ji...@apache.org> on 2012/03/01 14:05:59 UTC

[jira] [Commented] (AMQ-3749) Composite destinations break simple authorisation through role aggregation

    [ https://issues.apache.org/jira/browse/AMQ-3749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220011#comment-13220011 ] 

Gary Tully commented on AMQ-3749:
---------------------------------

The LDAP backed authorisation map does not have this problem.
                
> Composite destinations break simple authorisation through role aggregation
> --------------------------------------------------------------------------
>
>                 Key: AMQ-3749
>                 URL: https://issues.apache.org/jira/browse/AMQ-3749
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Blocker
>              Labels: authorization, composite, security
>             Fix For: 5.6.0
>
>
> Given authorisation where there is overlap in roles, using a composite destination can gain access in error. eg:{code}
>   <authorizationMap>
>     <authorizationEntries>
>       <authorizationEntry queue=">" read="admins" write="admins" admin="admins" />
>       <authorizationEntry queue="USER.>" read="users" write="users" admin="users" />
>       ...
> {code} The correct expectation is that a 'user' can only access queues that match 'USER.>' but a user can bypass this and access a private queue using a composite destination q(PRIVATE,USER.A) because the permissions are aggregated in error and we look for a single match.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira