Skip to content

very dangerous group admin bug #8244

Closed
Closed

Description

@tessus

ownCloud 6.0.2 (all other info irrelevant)

The cloud admin creates 2 users:

User Group Group Admin
A G1 G1
B G1,G2 G2

Behold: User A is able to delete user B from the system!

User B is also a group admin and manages other users. All of a sudden his user and his data (which he most likely shared with his own group) is gone. Gone forever.
Even if B were not a group admin, it can't be that user A deletes a user from the system (unless that user was created by A).

User A should only be able to

  • remove a user from the group
  • delete a user, iff that user was created by A and only belonged to the group managed by A (the cloud admin could add this user to another group after the user was created by A)

This is a high risk bug, unless this behavior is intentional.
If this were really the case, nobody could ever use group admins (unless the admin doesn't care about his users' data), which in turn renders the concept of group admins useless.

Activity

  1. LukasReschke commented on Apr 17, 2014

    @LukasReschke
    Contributor

    That's actually the expected behaviour but I think this is nevertheless worth discussing.

    Summoning @karlitschek and @jancborchhardt - what do you think?

  2. LukasReschke commented on Apr 17, 2014

    @LukasReschke
    Contributor
  3. tessus commented on Apr 17, 2014

    @tessus
    Author

    I'm more than happy to discuss this, but it should be obvious: they way it is right now makes it possible to wipe data unintentionally. No matter what, this cannot be the correct behavior.

    That's almost the same as giving every user admin rights with the ability to lock out the admin and delete all data. This doesn't seem right.

  4. Supermathie commented on Apr 17, 2014

    @Supermathie

    From the perspective of someone who's recently set up multitenant Owncloud hosting for a few of our customers (and internally, and at home, love it) this is absolutely non-intuitive.

    I can see some of the reasoning behind the functionality but it's totally not something that I expected - I thought (OK, yes, without reading the manual) that a Group Admin would be able to admin the group (i.e. assign/unassign users) only.

    I don't like it.

  5. LukasReschke commented on Apr 17, 2014

    @LukasReschke
    Contributor

    Just as remark: There is every few days somebody in our IRC chat who misunderstood the option too. I believe we should do something here.

  6. tessus commented on Apr 17, 2014

    @tessus
    Author

    @LukasReschke Not quite sure how somebody could misunderstand the concept of a group admin. It's a user who can administer a group.
    But in this case, he can delete users and data outside his group. That's the problem and that's the flaw in the design.

  7. tessus commented on Apr 17, 2014

    @tessus
    Author

    I hope I don't make the impression that I bad mouth the product. I love ownCloud and it's a great product. But this is really dangerous and unless this is fixed, people should not use group admins.

  8. jancborchardt commented on Apr 17, 2014

    @jancborchardt
    Contributor

    Be sure that this is not intended. It just isn’t done yet.

    This issue is a duplicate of #1212 – let’s continue there.

  9. locked as resolved and limited conversation to collaborators on Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions