Skip to content

Any CalDAV calendars is read-only for every authenticated user

Moderate
trasher published GHSA-qmw3-87hr-5wgx Nov 25, 2020

Package

No package listed

Affected versions

9.5.0

Patched versions

None

Description

Impact

Any authenticated user has read-only permissions to the planning of every other user, even admin ones.

To reproduce

Steps to reproduce the behavior:

  1. Create a new planning with 'eduardo.mozart' user (from 'IT' group that belongs to 'Super-admin') into it's personal planning at 'Assistance' > 'Planning'.
  2. Copy the CalDAV url and use a CalDAV client (e.g. Thunderbird) to sync the planning with the provided URL.
  3. Inform the username and password from any valid user (e.g. 'camila' from 'Proativa' group).
  4. 'Camila' has read-only access to 'eduardo.mozart' personal planning.

The same behavior happen to any group. E.g. 'Camila' has access to 'IT' group planning, even if she doesn't belong to this group and has a 'Self-service' profile permission).

Patches

5272803

Workarounds

Remove the caldav.php file to block access to CalDAV server.

Severity

Moderate

CVE ID

CVE-2020-26212

Weaknesses

No CWEs