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-2022-34115 Vulnerability in maven package io.dataease:dataease-plugin-common
CVE-2021-21290 Vulnerability in maven package io.netty:netty-transport-native-unix-common-tests
CVE-2022-24999 Vulnerability in maven package org.webjars.npm:qs
CVE-2020-26870 Vulnerability in npm package dompurify
CVE-2020-15262 Vulnerability in npm package webpack-subresource-integrity