You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2014/02/17 12:21:19 UTC

[jira] [Commented] (OAK-1175) Security Concerns wrt Index Definitions

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

angela commented on OAK-1175:
-----------------------------

we had a look at the oak query index definitions again during our internal security gathering at adobe.

the overall feeling was that in fact treating the creation of query index definitions and thus query indices should be separated from regular write access. apart from proper separation of concerns we also considers this a possible attack.

so, i would like to propose the following way to address this issue:
- define a separate privilege that allows for writing index definitions
- enforce permissions for creation/modification/removal of index definitions based on that dedicated privileges.
- read access to the index definition would be enforced by regular read-permission

note: so far we only create dedicated privileges for protected items. while i can live with making an exception for the query index definitions we should at least be aware that it introduces some sort of inconsistency on how we define 'special' content that requires dedicated permissions to be enforced.

as a side effect: not making the query index definitions protected would e.g. allow for creating access control content for index-definition related content, which IMO doesn't make sense if writing is controlled by a dedicated privileges.

> Security Concerns wrt Index Definitions
> ---------------------------------------
>
>                 Key: OAK-1175
>                 URL: https://issues.apache.org/jira/browse/OAK-1175
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>            Assignee: angela
>            Priority: Critical
>              Labels: security
>             Fix For: 0.17
>
>
> see http://markmail.org/message/5ivmvhi7jbuo3jp6 for the initial request for discussion.
> biggest pain points from a security perspective:
> - missing protection or concept for protection in a default setup
> - location of the index definitions
> - node types of the nodes associated with index definitions and index content



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)