You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2023/09/27 00:23:00 UTC

[jira] [Assigned] (GUACAMOLE-1856) Permission check for creating user groups is incorrect

     [ https://issues.apache.org/jira/browse/GUACAMOLE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Jumper reassigned GUACAMOLE-1856:
--------------------------------------

    Assignee: Mike Jumper

> Permission check for creating user groups is incorrect
> ------------------------------------------------------
>
>                 Key: GUACAMOLE-1856
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1856
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-auth-jdbc
>            Reporter: Mike Jumper
>            Assignee: Mike Jumper
>            Priority: Trivial
>
> The permission check for creating *user groups* currently [erroneously checks for the permission to create *users*|https://github.com/apache/guacamole-client/blob/bffc5fbdd5e2bb7a777f55c819a1d4d858829cb7/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/usergroup/UserGroupService.java#L122-L124]. This should be corrected to reference the correct permission flag.
> *NOTE:* While this logic error is goofy, it _does not_ have security implications. A user with permission to create other users and the unintentional permission to create user groups would not be able to leverage that access to gain or grant any additional privileges:
> * A user cannot add users to a group unless they already have sufficient privileges to grant permissions to those users directly.
> * A user cannot grant any permissions to a group that they cannot already grant to a user.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)