Description
In Opencast before 7.6 and 8.1, users with the role ROLE_COURSE_ADMIN can use the user-utils endpoint to create new users not including the role ROLE_ADMIN. ROLE_COURSE_ADMIN is a non-standard role in Opencast which is referenced neither in the documentation nor in any code (except for tests) but only in the security configuration. From the name – implying an admin for a specific course – users would never expect that this role allows user creation. This issue is fixed in 7.6 and 8.1 which both ship a new default security configuration.
Remediation
References
https://github.com/opencast/opencast/commit/72fad0031d8a82c860e2bde0b27570c5042320ee
https://github.com/opencast/opencast/security/advisories/GHSA-94qw-r73x-j7hg
Related Vulnerabilities
CVE-2020-6831 Vulnerability in maven package org.webjars.npm:electron
CVE-2018-25074 Vulnerability in npm package skeemas
CVE-2021-27578 Vulnerability in maven package org.apache.zeppelin:zeppelin
CVE-2020-12827 Vulnerability in npm package mjml
CVE-2022-36917 Vulnerability in maven package org.jenkins-ci.plugins:google-cloud-backup