Skip to content
Access control Disclosed report Beginner

Dav sharing permissions issue

A user in a group the calendar was shared with could remove another user's share and revoke the group's edit permission, though not the owner.

nickvergessen Follow

Originally disclosed on HackerOne

Medium 4.6 View original
  • Triaged in under an hour
  • Fixed in 6 months
  • Disclosed after 7 months

Steps

  1. Create users "Test 1" and "Test 2", make "Test 1" member of "Group A"
  2. Share a calendar with group "Group A" editable
  3. Share the same calendar with user "Test 2" readonly
  4. As "Test 1" open the calendar app and unshare the calendar from "Test 2" - works
  5. As "Test 1" open the calendar app and remove edit permissions for "Group A" - works

In my opinion steps 4 and 5 should not be possible. The shares should not even be visible in my opinion.

The original report as published on HackerOne, by nickvergessen. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the sharing endpoints did not verify that the acting user was the calendar owner before allowing changes to the share list.

Impact

A user in a group the calendar was shared with could remove another user's access and the group's edit permission.

What the attacker needed

Two accounts; a group with one member; a calendar shared with the group and a user

How it was found

  1. Create two users and put one in a group.
  2. Share a calendar with that group as editable.
  3. Share the same calendar with the second user as read-only.
  4. As the first user, unshare the calendar from the second user.
  5. As the first user, remove the group's edit permission.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Someone a calendar is shared with should only use it, not change who else can see it. Here a group member could remove another user's access and the group's edit rights.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by nickvergessen

View all

10 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.