{"id":"GHSA-6f54-3qr9-pjgj","summary":"Unauthenticated Access Via OAI-PMH","details":"### Impact\n\nMedia publication via OAI-PMH allows unauthenticated public access to all media and metadata by default. 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.\n\n\n### Patches\n\nThe 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.\n\n### Workarounds\n\nIn the organization security configuration (`etc/security/mh_default_org.xml`), change the roles required for accessing `/oaipmh` from `ROLE_ANONYMOUS` to `ROLE_ADMIN`.\n\n### References\n\n- [Public access configuration in the organization's security configuration](https://github.com/opencast/opencast/blob/1fb812c7810c78f09f29a7f455ff920417924307/etc/security/mh_default_org.xml#L271-L276)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open an issue in [opencast/opencast](https://github.com/opencast/opencast/issues)\n- For security-relevant information, email us at security@opencast.org","aliases":["CVE-2020-5228"],"modified":"2026-09-10T03:49:25.227365468Z","published":"2020-01-30T21:22:06Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-862"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-01-30T19:48:30Z"},"references":[{"type":"WEB","url":"https://github.com/opencast/opencast/security/advisories/GHSA-6f54-3qr9-pjgj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5228"},{"type":"WEB","url":"https://github.com/opencast/opencast/blob/1fb812c7810c78f09f29a7f455ff920417924307/etc/security/mh_default_org.xml#L271-L276"}],"affected":[{"package":{"name":"org.opencastproject:opencast-oaipmh-api","ecosystem":"Maven","purl":"pkg:maven/org.opencastproject/opencast-oaipmh-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.6"}]}],"versions":["6.6","7.2","7.3","7.4","7.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/01/GHSA-6f54-3qr9-pjgj/GHSA-6f54-3qr9-pjgj.json"}},{"package":{"name":"org.opencastproject:opencast-oaipmh-api","ecosystem":"Maven","purl":"pkg:maven/org.opencastproject/opencast-oaipmh-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0"},{"fixed":"8.1"}]}],"versions":["8.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/01/GHSA-6f54-3qr9-pjgj/GHSA-6f54-3qr9-pjgj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"}]}