CVE-2020-5231
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 4.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-285
- Record status
- Modified
Affected
- Apereo Opencast < 7.6
- Apereo Opencast 8.0
Attack profile CVSS 3.1 · 4.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2020-5231.md and follow it. Check whether this project is affected by CVE-2020-5231. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/opencast/opencast/commit/72fad0031d8a82c860e2bde0b27570c5042320ee
- https://github.com/opencast/opencast/security/advisories/GHSA-94qw-r73x-j7hg
- https://github.com/opencast/opencast/commit/72fad0031d8a82c860e2bde0b27570c5042320ee
- https://github.com/opencast/opencast/security/advisories/GHSA-94qw-r73x-j7hg
References
- https://github.com/opencast/opencast/commit/72fad0031d8a82c860e2bde0b27570c5042320ee
- https://github.com/opencast/opencast/security/advisories/GHSA-94qw-r73x-j7hg
- https://github.com/opencast/opencast/commit/72fad0031d8a82c860e2bde0b27570c5042320ee
- https://github.com/opencast/opencast/security/advisories/GHSA-94qw-r73x-j7hg