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-23496 Vulnerability in maven package nl.basjes.parse.useragent:yauaa-elasticsearch
CVE-2023-36478 Vulnerability in maven package org.eclipse.jetty.http3:http3-qpack
CVE-2021-37695 Vulnerability in maven package org.webjars.npm:ckeditor4
CVE-2022-24728 Vulnerability in npm package ckeditor4
CVE-2023-41835 Vulnerability in maven package org.apache.struts:struts2-core