Security Advisory

Back to advisories

Workflow rules only check the file extension for the mimetype instead of the content (NC-SA-2020-002)

4th December 2019

Risk level: Low

CVSS v3 Base Score: 5.5 (AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L)

CWE: Reliance on File Name or Extension of Externally-Supplied File (CWE-646)

HackerOne report: 697959

Description

A bug in Nextcloud Server 17.0.1 causes the workflow rules to depend their behaviour on the file extension when checking file mimetypes.

Affected Software

Action Taken

The error has been fixed.

Resolution

It is recommended that the Nextcloud Server is upgraded to 17.0.2.

Acknowledgements

The Nextcloud team thanks the following people for their research and responsible disclosure of the above advisory:


This advisory is licensed CC BY-SA 4.0.