← back
CVE-2023-26482

Scope of workflow operations is not validated in nextcloud server

CVSS 9.1 CRITICALEPSS 4.2%CWE-78
In short

Nextcloud Server failed to properly check user permissions for workflow creation, allowing regular users to create admin-only workflows that could execute arbitrary code on the server. This is a serious security flaw because attackers can run commands directly on the server through workflows designed to handle PDFs or scripts.

Technical detail

CWE-78 (Improper Neutralization of Special Elements used in an OS Command) via missing scope validation in workflow operations. Unauthenticated or low-privileged users can create workflows restricted to administrators, potentially triggering RCE through workflow_scripts or workflow_pdf_converter apps that invoke external scripts or webhooks. Impact ranges from information disclosure to complete server compromise depending on available apps and server configuration.

Summary generated and translated by AI from the official description.
Nextcloud server is an open source home cloud implementation. In affected versions a missing scope validation allowed users to create workflows which are designed to be only available for administrators. Some workflows are designed to be RCE by invoking defined scripts, in order to generate PDFs, invoking webhooks or running scripts on the server. Due to this combination depending on the available apps the issue can result in a RCE at the end. It is recommended that the Nextcloud Server is upgraded to 24.0.10 or 25.0.4. Users unable to upgrade should disable app `workflow_scripts` and `workflow_pdf_converter` as a mitigation.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →